Свойство | Тип | Описание | |
---|---|---|---|
DefaultPublicationThreadMarshaller | Action |
Метод | Описание | |
---|---|---|
EventAggregator ( ) : System |
Initializes a new instance of the EventAggregator class.
|
|
Publish ( object message ) : void |
Publishes a message. Does not marshall the the publication to any special thread by default. |
|
Publish ( object message, Action |
Publishes a message.
|
|
Subscribe ( object instance ) : void |
Subscribes an instance to all events declared through implementations of IHandle{T}
|
|
Unsubscribe ( object instance ) : void |
Unsubscribes the instance from all events.
|
public Publish ( object message ) : void | ||
message | object | The message instance. |
Результат | void |
public Publish ( object message, Action |
||
message | object | The message instance. |
marshal | Action |
Allows the publisher to provide a custom thread marshaller for the message publication. |
Результат | void |
public Subscribe ( object instance ) : void | ||
instance | object | The instance to subscribe for event publication. |
Результат | void |
public Unsubscribe ( object instance ) : void | ||
instance | object | The instance to unsubscribe. |
Результат | void |