Sdílet prostřednictvím


FakeRedactionBuilderExtensions.SetFakeRedactor Metoda

Definice

Přetížení

SetFakeRedactor(IRedactionBuilder, DataClassificationSet[])

Nastaví falešný redactor pro sadu klasifikací dat.

SetFakeRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])

Nastaví falešný redactor pro sadu klasifikací dat.

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

Nastaví falešný redactor pro sadu klasifikací dat.

SetFakeRedactor(IRedactionBuilder, DataClassificationSet[])

Zdroj:
FakeRedactionBuilderExtensions.cs

Nastaví falešný redactor pro sadu klasifikací dat.

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

Parametry

builder
IRedactionBuilder

Tvůrce, ke které se má redactor připojit.

classifications
DataClassificationSet[]

Klasifikace dat, pro které se má použít typ redactor.

Návraty

Hodnota .builder

Výjimky

builder je null.

Platí pro

SetFakeRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])

Zdroj:
FakeRedactionBuilderExtensions.cs

Nastaví falešný redactor pro sadu klasifikací dat.

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

Parametry

builder
IRedactionBuilder

Tvůrce, ke které se má redactor připojit.

section
IConfigurationSection

Oddíl Konfigurace.

classifications
DataClassificationSet[]

Klasifikace dat, pro které se má použít typ redactor.

Návraty

Hodnota .builder

Výjimky

builder nebo section je null.

Platí pro

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

Zdroj:
FakeRedactionBuilderExtensions.cs

Nastaví falešný redactor pro sadu klasifikací dat.

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

Parametry

builder
IRedactionBuilder

Tvůrce, ke které se má redactor připojit.

configure
Action<FakeRedactorOptions>

Konfigurační funkce.

classifications
DataClassificationSet[]

Klasifikace dat, pro které se má použít typ redactor.

Návraty

Hodnota .builder

Výjimky

builder nebo configure je null.

Platí pro