RedactionExtensions.SetHmacRedactor 方法

定义

重载

SetHmacRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])

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

SetHmacRedactor(IRedactionBuilder, Action<HmacRedactorOptions>, DataClassificationSet[])

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

SetHmacRedactor(IRedactionBuilder, IConfigurationSection, DataClassificationSet[])

Source:
RedactionExtensions.cs

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ SetHmacRedactor(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 SetHmacRedactor (this Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection section, params Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] classifications);
static member SetHmacRedactor : Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder * Microsoft.Extensions.Configuration.IConfigurationSection * Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] -> Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder
<Extension()>
Public Function SetHmacRedactor (builder As IRedactionBuilder, section As IConfigurationSection, ParamArray classifications As DataClassificationSet()) As IRedactionBuilder

参数

builder
IRedactionBuilder

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

section
IConfigurationSection

配置部分。

classifications
DataClassificationSet[]

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

返回

builder 的值。

例外

buildersectionclassificationsnull

适用于

SetHmacRedactor(IRedactionBuilder, Action<HmacRedactorOptions>, DataClassificationSet[])

Source:
RedactionExtensions.cs

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ SetHmacRedactor(Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ builder, Action<Microsoft::Extensions::Compliance::Redaction::HmacRedactorOptions ^> ^ configure, ... cli::array <Microsoft::Extensions::Compliance::Classification::DataClassificationSet ^> ^ classifications);
public static Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder SetHmacRedactor (this Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder builder, Action<Microsoft.Extensions.Compliance.Redaction.HmacRedactorOptions> configure, params Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] classifications);
static member SetHmacRedactor : Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder * Action<Microsoft.Extensions.Compliance.Redaction.HmacRedactorOptions> * Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] -> Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder
<Extension()>
Public Function SetHmacRedactor (builder As IRedactionBuilder, configure As Action(Of HmacRedactorOptions), ParamArray classifications As DataClassificationSet()) As IRedactionBuilder

参数

builder
IRedactionBuilder

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

configure
Action<HmacRedactorOptions>

配置函数。

classifications
DataClassificationSet[]

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

返回

builder 的值。

例外

builderconfigureclassificationsnull

适用于