Show / Hide Table of Contents

Class DependencyInjection

Provides extension methods for configuring MediatorForge adapters.

Inheritance
System.Object
DependencyInjection
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: MediatorForge.Adapters
Assembly: MediatorForge.Adapters.dll
Syntax
public static class DependencyInjection

Methods

| Improve this Doc View Source

AddMediatorForgeFluentValidatorAdapter(IServiceCollection)

Adds and configures the MediatorForge FluentValidatorAdapter<TRequest> to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.

Declaration
public static IServiceCollection AddMediatorForgeFluentValidatorAdapter(this IServiceCollection services)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the services to.

Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls can be chained.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX