Compartilhar via


FakeRedactor.Create(FakeRedactorOptions, FakeRedactionCollector) Método

Definição

Inicializa uma nova instância da classe FakeRedactor.

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

Parâmetros

options
FakeRedactorOptions

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

collector
FakeRedactionCollector

Coleta informações sobre valores redigidos.

Retornos

Nova instância do FakeRedactor.

Aplica-se a