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. |
|
Methods
View SourcePublish(MethodInfo, Object[])
Publishes an event.
Declaration
Task Publish(MethodInfo methodInfo, object[] arguments)
Parameters
Type | Name | Description |
---|---|---|
System. |
methodInfo | The method information of the event to be published. |
System. |
arguments | The arguments of the event to be published. |
Returns
Type | Description |
---|---|
System. |
A System. |