Share via


FakeRedactionBuilderExtensions.SetFakeRedactor Method

Definition

Overloads

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.

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

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

SetFakeRedactor(IRedactionBuilder, DataClassificationSet[])

Source:
FakeRedactionBuilderExtensions.cs

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ SetFakeRedactor(Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ builder, ... cli::array <Microsoft::Extensions::Compliance::Classification::DataClassificationSet ^> ^ classifications);
public static Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder SetFakeRedactor (this Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder builder, params Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] classifications);
static member SetFakeRedactor : Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder * Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] -> Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder
<Extension()>
Public Function SetFakeRedactor (builder As IRedactionBuilder, ParamArray classifications As DataClassificationSet()) As IRedactionBuilder

Parameters

builder
IRedactionBuilder

The builder to attach the redactor to.

classifications
DataClassificationSet[]

The data classifications for which the redactor type should be used.

Returns

The value of builder.

Exceptions

builder is null.

Applies to

SetFakeRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])

Source:
FakeRedactionBuilderExtensions.cs

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ SetFakeRedactor(Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ builder, Microsoft::Extensions::Configuration::IConfigurationSection ^ section, ... cli::array <Microsoft::Extensions::Compliance::Classification::DataClassificationSet ^> ^ classifications);
public static Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder SetFakeRedactor (this Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section, params Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] classifications);
static member SetFakeRedactor : Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder * Microsoft.Extensions.Configuration.IConfigurationSection * Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] -> Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder
<Extension()>
Public Function SetFakeRedactor (builder As IRedactionBuilder, section As IConfigurationSection, ParamArray classifications As DataClassificationSet()) As IRedactionBuilder

Parameters

builder
IRedactionBuilder

The builder to attach the redactor to.

section
IConfigurationSection

Configuration section.

classifications
DataClassificationSet[]

The data classifications for which the redactor type should be used.

Returns

The value of builder.

Exceptions

builder or section is null.

Applies to

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

Source:
FakeRedactionBuilderExtensions.cs

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ SetFakeRedactor(Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ builder, Action<Microsoft::Extensions::Compliance::Testing::FakeRedactorOptions ^> ^ configure, ... cli::array <Microsoft::Extensions::Compliance::Classification::DataClassificationSet ^> ^ classifications);
public static Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder SetFakeRedactor (this Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder builder, Action<Microsoft.Extensions.Compliance.Testing.FakeRedactorOptions> configure, params Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] classifications);
static member SetFakeRedactor : Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder * Action<Microsoft.Extensions.Compliance.Testing.FakeRedactorOptions> * Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] -> Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder
<Extension()>
Public Function SetFakeRedactor (builder As IRedactionBuilder, configure As Action(Of FakeRedactorOptions), ParamArray classifications As DataClassificationSet()) As IRedactionBuilder

Parameters

builder
IRedactionBuilder

The builder to attach the redactor to.

configure
Action<FakeRedactorOptions>

Configuration function.

classifications
DataClassificationSet[]

The data classifications for which the redactor type should be used.

Returns

The value of builder.

Exceptions

builder or configure is null.

Applies to