Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeContentSafetyFinding

Namespace OfficeIMO.ContentSafety
Assembly OfficeIMO.Core
Modifiers sealed

One exact concealed-content or machine-only-content finding.

Inheritance

  • Object
  • OfficeContentSafetyFinding

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public OfficeContentSafetyFinding(String id, String format, OfficeContentConcealmentKind kind, OfficeContentSafetyRisk risk, String location, String evidence, String textPreview, Int32 textLength, String contentHash, Boolean isInstructionLike, IReadOnlyList<String> instructionSignals = null, OfficeContentCleanupCapability cleanupCapability = ReportOnly, Nullable<Int32> sourceTextOffset = null, Nullable<Int32> sourceTextLength = null) #

Creates an immutable content-safety finding.

Parameters

id System.String requiredposition: 0
format System.String requiredposition: 1
kind OfficeIMO.ContentSafety.OfficeContentConcealmentKind requiredposition: 2
risk OfficeIMO.ContentSafety.OfficeContentSafetyRisk requiredposition: 3
location System.String requiredposition: 4
evidence System.String requiredposition: 5
textPreview System.String requiredposition: 6
textLength System.Int32 requiredposition: 7
contentHash System.String requiredposition: 8
isInstructionLike System.Boolean requiredposition: 9
instructionSignals System.Collections.Generic.IReadOnlyList{System.String} = null optionalposition: 10
cleanupCapability OfficeIMO.ContentSafety.OfficeContentCleanupCapability = ReportOnly optionalposition: 11
sourceTextOffset System.Nullable{System.Int32} = null optionalposition: 12
sourceTextLength System.Nullable{System.Int32} = null optionalposition: 13

Properties

public String Id { get; } #

Gets a deterministic id bound to the format, location, mechanism, and exact content hash.

public String Format { get; } #

Gets the adapter format name.

public OfficeContentConcealmentKind Kind { get; } #

Gets the exact concealment mechanism.

public OfficeContentSafetyRisk Risk { get; } #

Gets the interpretation risk.

public String Location { get; } #

Gets the format-native logical location.

public String Evidence { get; } #

Gets bounded, adapter-produced evidence explaining why the content is concealed.

public String TextPreview { get; } #

Gets a bounded, control-safe preview. This is never used as a mutation locator.

public Int32 TextLength { get; } #

Gets the original UTF-16 text length.

public String ContentHash { get; } #

Gets the SHA-256 hash of the exact text payload.

public Boolean IsInstructionLike { get; } #

Gets whether bounded heuristics found instruction-like language in concealed content.

public IReadOnlyList<String> InstructionSignals { get; } #

Gets the exact heuristic signal identifiers that were observed.

public OfficeContentCleanupCapability CleanupCapability { get; } #

Gets whether the owning adapter can safely remove this exact finding.

public Nullable<Int32> SourceTextOffset { get; } #

Gets the exact UTF-16 offset within the reported native text surface when this is a Unicode finding.

public Nullable<Int32> SourceTextLength { get; } #

Gets the exact UTF-16 length within the reported native text surface when this is a Unicode finding.