# OfficeContentCleanupResult

Result of an explicit, selection-based content cleanup.

Class 

`OfficeIMO.ContentSafety`

**Namespace**

`OfficeIMO.ContentSafety`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeContentSafetyContracts.cs:263](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L263)

**Modifiers**

sealed

Result of an explicit, selection-based content cleanup.

## Inheritance

- object
- OfficeContentCleanupResult

## Usage

Explore 1 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

- Method [OfficeSvgDrawingReader.RemoveSelectedContent](/api/core/officeimo-drawing-officesvgdrawingreader/#method-removeselectedcontent-byte-officeimo-contentsafety-officecontentcleanupselection-officeimo-contentsafety-officecontentcleanupoptions-officeimo-drawing-officesvgdrawingreaderoptions)

Filter members 

Show inherited

## Constructors

`public OfficeContentCleanupResult(byte[] output, OfficeContentSafetyReport before, OfficeContentSafetyReport after, IReadOnlyList<OfficeContentCleanupChange> changes)` [#](#member-2f7a10485a8ace28c77bc946)

[OfficeContentSafetyContracts.cs:263](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L263)

Creates a cleanup result.

Parameters

**output byte[] required**

**before OfficeIMO.ContentSafety.OfficeContentSafetyReport required**

**after OfficeIMO.ContentSafety.OfficeContentSafetyReport required**

**changes System.Collections.Generic.IReadOnlyList<OfficeIMO.ContentSafety.OfficeContentCleanupChange> required**

## 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 byte[] Output { get; }` [#](#property-output)

[OfficeContentSafetyContracts.cs:285](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L285)

Gets a defensive copy of the cleaned artifact.

`public OfficeContentSafetyReport Before { get; }` [#](#property-before)

[OfficeContentSafetyContracts.cs:287](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L287)

Gets the evidence snapshot before cleanup.

`public OfficeContentSafetyReport After { get; }` [#](#property-after)

[OfficeContentSafetyContracts.cs:289](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L289)

Gets the evidence snapshot after cleanup.

`public IReadOnlyList<OfficeContentCleanupChange> Changes { get; }` [#](#property-changes)

[OfficeContentSafetyContracts.cs:291](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L291)

Gets exact changes in selection order.

`public bool Changed { get; }` [#](#property-changed)

[OfficeContentSafetyContracts.cs:293](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/ContentSafety/OfficeContentSafetyContracts.cs#L293)

Gets whether the output differs from the inspected input.

<!-- PowerForge markdown artifact sha256:155FF4CBDEA49621F26D6905994B98160E1FEE027E09E8FB234F58356FACE044 -->
