Partilhar via


FakeRedactor Construtor

Definição

Inicializa uma nova instância da classe FakeRedactor.

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)

Parâmetros

options
IOptions<FakeRedactorOptions>

As opções para controlar o comportamento do refatorador.

collector
FakeRedactionCollector

Coleta informações sobre valores redigidos.

Aplica-se a