Op Englesch liesen

Deelen iwwer


FakeRedactionServiceCollectionExtensions Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Produkt Versiounen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)