共用方式為


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

Fake redactor 選項。

eventCollector
FakeRedactionCollector

收集重構函式要求的相關信息。

適用於