FakeRedactionBuilderExtensions.SetFakeRedactor Method
Definition
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.
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[])
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[])
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[])
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
.