FakeRedactorProvider(FakeRedactorOptions, FakeRedactionCollector) 构造函数

定义

初始化 FakeRedactorProvider 类的新实例。

public FakeRedactorProvider (Microsoft.Extensions.Compliance.Testing.FakeRedactorOptions? options = default, Microsoft.Extensions.Compliance.Testing.FakeRedactionCollector? eventCollector = default);
new Microsoft.Extensions.Compliance.Testing.FakeRedactorProvider : Microsoft.Extensions.Compliance.Testing.FakeRedactorOptions * Microsoft.Extensions.Compliance.Testing.FakeRedactionCollector -> Microsoft.Extensions.Compliance.Testing.FakeRedactorProvider
Public Sub New (Optional options As FakeRedactorOptions = Nothing, Optional eventCollector As FakeRedactionCollector = Nothing)

参数

options
FakeRedactorOptions

虚假的重修器选项。

eventCollector
FakeRedactionCollector

收集有关重修器请求的信息。

适用于