Show / Hide Table of Contents

    Interface IEventPublisher

    Provides the capability to publish events.

    Namespace: Copper.Eventing.Common.Interface
    Assembly: Copper.Eventing.Common.dll
    Syntax
    public interface IEventPublisher : IDisposable

    Properties

    View Source

    IsFaulted

    Gets a value indicating whether this instance is faulted.

    Declaration
    bool IsFaulted { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is faulted; otherwise, false.

    Methods

    View Source

    Publish(MethodInfo, Object[])

    Publishes an event.

    Declaration
    Task Publish(MethodInfo methodInfo, object[] arguments)
    Parameters
    Type Name Description
    System.Reflection.MethodInfo methodInfo

    The method information of the event to be published.

    System.Object[] arguments

    The arguments of the event to be published.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task that represents outstanding operation.

    • View Source
    Back to top Generated by DocFX