# OfficeContentSafetyFinding

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

Class 

`OfficeIMO.ContentSafety`

**Namespace**

`OfficeIMO.ContentSafety`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`013c05ace7bb` with working tree changes

**Source**

[OfficeContentSafetyContracts.cs:106](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L106)

**Modifiers**

sealed

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](/api/core/officeimo-contentsafety-officecontentsafetyreport/#property-findings)

### Accepted by parameters 1

- Constructor [OfficeContentSafetyReport.OfficeContentSafetyReport](/api/core/officeimo-contentsafety-officecontentsafetyreport/#constructor-ctor-string-collections-generic-ireadonlylist-officeimo-contentsafety-officecontentsafetyfinding-collections-generic-ireadonlylist-officeimo-provenance-officetextintegrityfinding-collections-generic-ireadonlylist-system-string) parameter `findings`

Filter members 

Show inherited

## 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)` [#](#member-a1976f380bab082444b73aff)

[OfficeContentSafetyContracts.cs:106](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L106)

Creates an immutable content-safety finding.

Parameters

**id string required**

**format string required**

**kind OfficeIMO.ContentSafety.OfficeContentConcealmentKind required**

**risk OfficeIMO.ContentSafety.OfficeContentSafetyRisk required**

**location string required**

**evidence string required**

**textPreview string required**

**textLength int required**

**contentHash string required**

**isInstructionLike bool required**

**instructionSignals System.Collections.Generic.IReadOnlyList<string>? = null optional**

**cleanupCapability OfficeIMO.ContentSafety.OfficeContentCleanupCapability = ReportOnly optional**

**sourceTextOffset int? = null optional**

**sourceTextLength int? = null optional**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Id { get; }` [#](#property-id)

[OfficeContentSafetyContracts.cs:146](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L146)

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

`public string Format { get; }` [#](#property-format)

[OfficeContentSafetyContracts.cs:148](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L148)

Gets the adapter format name.

`public OfficeContentConcealmentKind Kind { get; }` [#](#property-kind)

[OfficeContentSafetyContracts.cs:150](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L150)

Gets the exact concealment mechanism.

`public OfficeContentSafetyRisk Risk { get; }` [#](#property-risk)

[OfficeContentSafetyContracts.cs:152](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L152)

Gets the interpretation risk.

`public string Location { get; }` [#](#property-location)

[OfficeContentSafetyContracts.cs:154](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L154)

Gets the format-native logical location.

`public string Evidence { get; }` [#](#property-evidence)

[OfficeContentSafetyContracts.cs:156](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L156)

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

`public string TextPreview { get; }` [#](#property-textpreview)

[OfficeContentSafetyContracts.cs:158](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L158)

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

`public int TextLength { get; }` [#](#property-textlength)

[OfficeContentSafetyContracts.cs:160](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L160)

Gets the original UTF-16 text length.

`public string ContentHash { get; }` [#](#property-contenthash)

[OfficeContentSafetyContracts.cs:162](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L162)

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

`public bool IsInstructionLike { get; }` [#](#property-isinstructionlike)

[OfficeContentSafetyContracts.cs:164](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L164)

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

`public IReadOnlyList<string> InstructionSignals { get; }` [#](#property-instructionsignals)

[OfficeContentSafetyContracts.cs:166](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L166)

Gets the exact heuristic signal identifiers that were observed.

`public OfficeContentCleanupCapability CleanupCapability { get; }` [#](#property-cleanupcapability)

[OfficeContentSafetyContracts.cs:168](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L168)

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

`public int? SourceTextOffset { get; }` [#](#property-sourcetextoffset)

[OfficeContentSafetyContracts.cs:170](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L170)

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

`public int? SourceTextLength { get; }` [#](#property-sourcetextlength)

[OfficeContentSafetyContracts.cs:172](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L172)

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

<!-- PowerForge markdown artifact sha256:006D605C0F6B9F56D9110DA2F7079416919488265360C00E438527ED458C0D6E -->
