ServiceCollectionTriggerExtensions Class
Namespace: PTS.DomainFramework.Domain
Assembly: PTS.DomainFramework.Domain.dll
Syntax
public static class ServiceCollectionTriggerExtensions
Inheritance
System.Object
ServiceCollectionTriggerExtensions
Methods
AddModuleTriggers(IServiceCollection)
Attempts to add services that implement ITriggerHandler to service collection found in assemblies via reflection.
Services already added to IServiceCollection
will not be overriden.
Declaration
public static IServiceCollection AddModuleTriggers(this IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services | The |
Returns
Type | Description |
---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | A reference to the current instance of |
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()