Метод | Описание | |
---|---|---|
Contains ( SubscriptionToken token ) : bool |
Returns
|
|
InitializeDispatcher ( Lazy |
Initializes Dispatcher. Can be run only once. |
|
Unsubscribe ( SubscriptionToken token ) : void |
Removes the subscriber matching the SubscriptionToken.
|
Метод | Описание | |
---|---|---|
InternalPublish ( ) : void |
Calls all the execution strategies exposed by the list of IEventSubscription. Before executing the strategies, this class will prune all the subscribers from the list that return a |
|
InternalSubscribe ( IEventSubscription eventSubscription ) : SubscriptionToken |
Adds the specified IEventSubscription to the subscribers' collection. Adds the subscription to the internal list and assigns it a new SubscriptionToken. |
Метод | Описание | |
---|---|---|
PruneAndReturnStrategies ( ) : List |
public Contains ( SubscriptionToken token ) : bool | ||
token | SubscriptionToken | The |
Результат | bool |
public static InitializeDispatcher ( Lazy |
||
dispatcher | Lazy |
|
Результат | void |
protected InternalSubscribe ( IEventSubscription eventSubscription ) : SubscriptionToken | ||
eventSubscription | IEventSubscription | The subscriber. |
Результат | SubscriptionToken |
public Unsubscribe ( SubscriptionToken token ) : void | ||
token | SubscriptionToken | The |
Результат | void |