共用方式為


FakeRedactionBuilderExtensions.SetFakeRedactor 方法

定義

多載

SetFakeRedactor(IRedactionBuilder, DataClassificationSet[])

設定要用於一組數據分類的假重新建構函式。

SetFakeRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])

設定要用於一組數據分類的假重新建構函式。

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

設定要用於一組數據分類的假重新建構函式。

SetFakeRedactor(IRedactionBuilder, DataClassificationSet[])

來源:
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[])

來源:
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[])

來源:
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

適用於