FakeRedactionBuilderExtensions.SetFakeRedactor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SetFakeRedactor(IRedactionBuilder, DataClassificationSet[]) |
设置要用于一组数据分类的假重修函数。 |
SetFakeRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[]) |
设置要用于一组数据分类的假重修函数。 |
SetFakeRedactor(IRedactionBuilder, Action<FakeRedactorOptions>, DataClassificationSet[]) |
设置要用于一组数据分类的假重修函数。 |
SetFakeRedactor(IRedactionBuilder, DataClassificationSet[])
设置要用于一组数据分类的假重修函数。
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
的值。
例外
builder
为 null
。
适用于
SetFakeRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])
设置要用于一组数据分类的假重修函数。
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
的值。
例外
builder
或 section
为 null
。
适用于
SetFakeRedactor(IRedactionBuilder, Action<FakeRedactorOptions>, DataClassificationSet[])
设置要用于一组数据分类的假重修函数。
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
的值。
例外
builder
或 configure
为 null
。