Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IRedactionBuilder Interface

Definition

Namespace:
Microsoft.Extensions.Compliance.Redaction
Assembly:
Microsoft.Extensions.Compliance.Abstractions.dll
Package:
Microsoft.Extensions.Compliance.Abstractions v10.7.0
Source:
IRedactionBuilder.cs
Source:
IRedactionBuilder.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Adds redactors to the application.

public interface class IRedactionBuilder
public interface IRedactionBuilder
type IRedactionBuilder = interface
Public Interface IRedactionBuilder

Properties

Name Description
Services

Gets the service collection into which the redactor instances are registered.

Methods

Name Description
SetFallbackRedactor<T>()

Sets the redactor to use when processing classified data for which no specific redactor has been registered.

SetRedactor<T>(DataClassificationSet[])

Sets the redactor to use for a set of data classifications.

Extension Methods

Name Description
SetFakeRedactor(IRedactionBuilder, Action<FakeRedactorOptions>, DataClassificationSet[])

Sets the fake redactor to use for a set of data classifications.

SetFakeRedactor(IRedactionBuilder, DataClassificationSet[])

Sets the fake redactor to use for a set of data classifications.

SetFakeRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])

Sets the fake redactor to use for a set of data classifications.

SetHmacRedactor(IRedactionBuilder, Action<HmacRedactorOptions>, DataClassificationSet[])

Sets the HMAC redactor to use for a set of data classifications.

SetHmacRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])

Sets the HMAC redactor to use for a set of data classifications.

Applies to


Feedback

Was this page helpful?