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 SourceIsFaulted
Gets a value indicating whether this instance is faulted.
Declaration
bool IsFaulted { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Methods
View SourcePublish(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. |