Table of Contents

Class ZeroRedactExtensions

Namespace
ZeroRedact
Assembly
ZeroRedact.dll

Extension methods for IServiceCollection to register IRedactor with the Redactor implementation.

public static class ZeroRedactExtensions
Inheritance
ZeroRedactExtensions
Inherited Members

Methods

AddZeroRedact(IServiceCollection)

Registers an instance of IRedactor with the Redactor implementation.

public static IServiceCollection AddZeroRedact(this IServiceCollection services)

Parameters

services IServiceCollection

The service collection

Returns

IServiceCollection

AddZeroRedact(IServiceCollection, RedactorOptions)

Registers an instance of IRedactor with the Redactor implementation with RedactorOptions.

public static IServiceCollection AddZeroRedact(this IServiceCollection services, RedactorOptions options)

Parameters

services IServiceCollection

The service collection

options RedactorOptions

The RedactorOptions to configure the Redactor

Returns

IServiceCollection