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
。