Freigeben über


FakeRedactor.Create(FakeRedactorOptions, FakeRedactionCollector) Methode

Definition

Initialisiert eine neue Instanz der FakeRedactor-Klasse.

public static Microsoft.Extensions.Compliance.Testing.FakeRedactor Create (Microsoft.Extensions.Compliance.Testing.FakeRedactorOptions? options = default, Microsoft.Extensions.Compliance.Testing.FakeRedactionCollector? collector = default);
static member Create : Microsoft.Extensions.Compliance.Testing.FakeRedactorOptions * Microsoft.Extensions.Compliance.Testing.FakeRedactionCollector -> Microsoft.Extensions.Compliance.Testing.FakeRedactor
Public Shared Function Create (Optional options As FakeRedactorOptions = Nothing, Optional collector As FakeRedactionCollector = Nothing) As FakeRedactor

Parameter

options
FakeRedactorOptions

Die Optionen zum Steuern des Verhaltens des Redactors.

collector
FakeRedactionCollector

Sammelt Informationen zu redacted Values.

Gibt zurück

Neuer instance von FakeRedactor.

Gilt für: