Jagamisviis:


FakeRedactor Constructor

Definition

Initializes a new instance of the FakeRedactor class.

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)

Parameters

options
IOptions<FakeRedactorOptions>

The options to control the redactor's behavior.

collector
FakeRedactionCollector

Collects info about redacted values.

Applies to