Partager via


IRedactionBuilder.SetRedactor<T>(DataClassificationSet[]) Method

Definition

Sets the redactor to use for a set of data classifications.

public:
generic <typename T>
 where T : Microsoft::Extensions::Compliance::Redaction::Redactor Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ SetRedactor(... cli::array <Microsoft::Extensions::Compliance::Classification::DataClassificationSet ^> ^ classifications);
public Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder SetRedactor<T> (params Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] classifications) where T : Microsoft.Extensions.Compliance.Redaction.Redactor;
abstract member SetRedactor : Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] -> Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder (requires 'T :> Microsoft.Extensions.Compliance.Redaction.Redactor)
Public Function SetRedactor(Of T As Redactor) (ParamArray classifications As DataClassificationSet()) As IRedactionBuilder

Type Parameters

T

Redactor type.

Parameters

classifications
DataClassificationSet[]

The data classifications for which the redactor type should be used.

Returns

The value of this instance.

Exceptions

classifications is null.

Applies to