API Reference
OfficeContentSafetyFinding
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.
Returned or exposed by
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
- format System.String
- kind OfficeIMO.ContentSafety.OfficeContentConcealmentKind
- risk OfficeIMO.ContentSafety.OfficeContentSafetyRisk
- location System.String
- evidence System.String
- textPreview System.String
- textLength System.Int32
- contentHash System.String
- isInstructionLike System.Boolean
- instructionSignals System.Collections.Generic.IReadOnlyList{System.String} = null
- cleanupCapability OfficeIMO.ContentSafety.OfficeContentCleanupCapability = ReportOnly
- sourceTextOffset System.Nullable{System.Int32} = null
- sourceTextLength System.Nullable{System.Int32} = null
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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.