Show / Hide Table of Contents

    Class ManagerEventsProxy

    EventsProxy for Managers

    Inheritance
    System.Object
    ManagerEventsProxy
    Implements
    IManagerEventsProxy
    System.IDisposable
    Namespace: Copper.Conventions.Method.Service.V1
    Assembly: Copper.Conventions.Method.Service.dll
    Syntax
    public class ManagerEventsProxy : IManagerEventsProxy, IDisposable

    Constructors

    View Source

    ManagerEventsProxy(EventsProxy, IManagerEventPublisherBuilderFactory)

    Initializes a new instance of the ManagerEventsProxy class.

    Declaration
    public ManagerEventsProxy(EventsProxy eventsProxy, IManagerEventPublisherBuilderFactory managerEventPublisherBuilderFactory)
    Parameters
    Type Name Description
    EventsProxy eventsProxy
    IManagerEventPublisherBuilderFactory managerEventPublisherBuilderFactory

    Methods

    View Source

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()
    View Source

    Dispose(Boolean)

    Releases unmanaged and - optionally - managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    View Source

    For<TManagerEvents>()

    Creates a Manager events proxy for the given contract type.

    Declaration
    public TManagerEvents For<TManagerEvents>()
        where TManagerEvents : class
    Returns
    Type Description
    TManagerEvents
    Type Parameters
    Name Description
    TManagerEvents

    The Manager events contract type.

    View Source

    For<TManagerEvents>(Action<EventPublisherBuilder>)

    Creates a Manager proxy for the given contract type.

    Declaration
    public 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.

    View Source

    For<TManagerEvents>(Func<EventPublisherBuilder>)

    Creates a Manager proxy for the given contract type.

    Declaration
    public 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.

    Implements

    IManagerEventsProxy
    System.IDisposable
    • View Source
    Back to top Generated by DocFX