Interface IManagerEventsProxy
Provides the capability to create Manager events proxies.
Namespace: Copper.Conventions.Method.Service.V1.Interface
Assembly: Copper.Conventions.Method.Service.dll
Syntax
public interface IManagerEventsProxy : IDisposable
Methods
View SourceFor<TManagerEvents>()
Creates a Manager events proxy for the given contract type.
Declaration
TManagerEvents For<TManagerEvents>()
where TManagerEvents : class
Returns
Type | Description |
---|---|
TManagerEvents |
Type Parameters
Name | Description |
---|---|
TManagerEvents | The Manager events contract type. |
For<TManagerEvents>(Action<EventPublisherBuilder>)
Creates a Manager proxy for the given contract type.
Declaration
TManagerEvents For<TManagerEvents>(Action<EventPublisherBuilder> eventPublisherBuilderConfigureDelegate)
where TManagerEvents : class
Parameters
Type | Name | Description |
---|---|---|
System.Action<EventPublisherBuilder> | eventPublisherBuilderConfigureDelegate | The event publisher builder configure delegate. |
Returns
Type | Description |
---|---|
TManagerEvents |
Type Parameters
Name | Description |
---|---|
TManagerEvents | The Manager events contract type. |
For<TManagerEvents>(Func<EventPublisherBuilder>)
Creates a Manager proxy for the given contract type.
Declaration
TManagerEvents For<TManagerEvents>(Func<EventPublisherBuilder> eventPublisherBuilderFactory)
where TManagerEvents : class
Parameters
Type | Name | Description |
---|---|---|
System.Func<EventPublisherBuilder> | eventPublisherBuilderFactory | The event publisher builder factory. |
Returns
Type | Description |
---|---|
TManagerEvents |
Type Parameters
Name | Description |
---|---|
TManagerEvents | The Manager events contract type. |