Freigeben über


FakeRedactor Konstruktor

Definition

Initialisiert eine neue Instanz der FakeRedactor-Klasse.

public FakeRedactor (Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Compliance.Testing.FakeRedactorOptions>? options = default, Microsoft.Extensions.Compliance.Testing.FakeRedactionCollector? collector = default);
new Microsoft.Extensions.Compliance.Testing.FakeRedactor : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Compliance.Testing.FakeRedactorOptions> * Microsoft.Extensions.Compliance.Testing.FakeRedactionCollector -> Microsoft.Extensions.Compliance.Testing.FakeRedactor
Public Sub New (Optional options As IOptions(Of FakeRedactorOptions) = Nothing, Optional collector As FakeRedactionCollector = Nothing)

Parameter

options
IOptions<FakeRedactorOptions>

Die Optionen, um das Verhalten des Redaktors zu steuern.

collector
FakeRedactionCollector

Sammelt Informationen zu redacted Values.

Gilt für: