FakeRedactionBuilderExtensions.SetFakeRedactor 方法

定义

重载

SetFakeRedactor(IRedactionBuilder, DataClassificationSet[])

设置要用于一组数据分类的假重修函数。

SetFakeRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])

设置要用于一组数据分类的假重修函数。

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

设置要用于一组数据分类的假重修函数。

SetFakeRedactor(IRedactionBuilder, DataClassificationSet[])

Source:
FakeRedactionBuilderExtensions.cs

设置要用于一组数据分类的假重修函数。

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

参数

builder
IRedactionBuilder

要将重函数附加到的生成器。

classifications
DataClassificationSet[]

应为其使用重函数类型的数据分类。

返回

builder 的值。

例外

buildernull

适用于

SetFakeRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])

Source:
FakeRedactionBuilderExtensions.cs

设置要用于一组数据分类的假重修函数。

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

参数

builder
IRedactionBuilder

要将重函数附加到的生成器。

section
IConfigurationSection

“配置”部分。

classifications
DataClassificationSet[]

应为其使用重函数类型的数据分类。

返回

builder 的值。

例外

buildersectionnull

适用于

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

Source:
FakeRedactionBuilderExtensions.cs

设置要用于一组数据分类的假重修函数。

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

参数

builder
IRedactionBuilder

要将重函数附加到的生成器。

configure
Action<FakeRedactorOptions>

配置函数。

classifications
DataClassificationSet[]

应为其使用重函数类型的数据分类。

返回

builder 的值。

例外

builderconfigurenull

适用于