OfficeContentSafetyFinding
OfficeIMO.ContentSafety
One exact concealed-content or machine-only-content finding.
Inheritance
- object
- OfficeContentSafetyFinding
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property OfficeContentSafetyReport.Findings
Accepted by parameters 1
Constructors
public OfficeContentSafetyFinding(string id, string format, OfficeContentConcealmentKind kind, OfficeContentSafetyRisk risk, string location, string evidence, string textPreview, int textLength, string contentHash, bool isInstructionLike, IReadOnlyList<string>? instructionSignals = null, OfficeContentCleanupCapability cleanupCapability = ReportOnly, int? sourceTextOffset = null, int? sourceTextLength = null) #Creates an immutable content-safety finding.
Parameters
- id string
- format string
- kind OfficeIMO.ContentSafety.OfficeContentConcealmentKind
- risk OfficeIMO.ContentSafety.OfficeContentSafetyRisk
- location string
- evidence string
- textPreview string
- textLength int
- contentHash string
- isInstructionLike bool
- instructionSignals System.Collections.Generic.IReadOnlyList<string>? = null
- cleanupCapability OfficeIMO.ContentSafety.OfficeContentCleanupCapability = ReportOnly
- sourceTextOffset int? = null
- sourceTextLength int? = null
Inherited Methods
Properties
public string Id { get; } #Gets a deterministic id bound to the format, location, mechanism, and exact content hash.
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 int TextLength { get; } #Gets the original UTF-16 text length.
public string ContentHash { get; } #Gets the SHA-256 hash of the exact text payload.
public bool 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 int? SourceTextOffset { get; } #Gets the exact UTF-16 offset within the reported native text surface when this is a Unicode finding.
public int? SourceTextLength { get; } #Gets the exact UTF-16 length within the reported native text surface when this is a Unicode finding.