Class DependencyInjection
Provides extension methods for configuring the MediatorForge library services.
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
Assembly: MediatorForge.dll
Syntax
public static class DependencyInjection
Methods
| Improve this Doc View SourceAddMediatorForge(IServiceCollection, Assembly)
Adds and configures the MediatorForge library services to the specified Microsoft.
Declaration
public static IServiceCollection AddMediatorForge(this IServiceCollection services, Assembly assembly)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
services | The Microsoft. |
System. |
assembly | The assembly containing the MediatR handlers and validators. |
Returns
Type | Description |
---|---|
Microsoft. |
The Microsoft. |