इसके माध्यम से साझा किया गया


FakeRedactor.Create(FakeRedactorOptions, FakeRedactionCollector) Method

Definition

Initializes a new instance of the FakeRedactor class.

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

Parameters

options
FakeRedactorOptions

The options to control behavior of redactor.

collector
FakeRedactionCollector

Collects info about redacted values.

Returns

New instance of FakeRedactor.

Applies to