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)
public static IServiceCollection AddZeroRedact(this IServiceCollection services)
  Parameters
servicesIServiceCollectionThe service collection
Returns
AddZeroRedact(IServiceCollection, RedactorOptions)
Registers an instance of IRedactor with the Redactor implementation with RedactorOptions.
public static IServiceCollection AddZeroRedact(this IServiceCollection services, RedactorOptions options)
  Parameters
servicesIServiceCollectionThe service collection
optionsRedactorOptionsThe RedactorOptions to configure the Redactor