FakeRedactionServiceCollectionExtensions Class

Definition

Extensions that allow registering a fake redactor in the application.

C#
public static class FakeRedactionServiceCollectionExtensions
Inheritance
FakeRedactionServiceCollectionExtensions

Methods

AddFakeRedaction(IServiceCollection, Action<FakeRedactorOptions>)

Registers the fake redactor provider that always returns fake redactor instances.

AddFakeRedaction(IServiceCollection)

Registers the fake redactor provider that always returns fake redactor instances.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)