Example #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="SubscriberAndActions" /> class.
 /// </summary>
 /// <param name="subscriber">The subscriber.</param>
 public SubscriberAndActions(object subscriber)
 {
     Subscriber = subscriber;
     Actions    = new ThreadedMessageActions();
 }
Example #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="SubscriberAndActions" /> class.
 /// </summary>
 /// <param name="subscriber">The subscriber.</param>
 /// <param name="actions">The actions.</param>
 public SubscriberAndActions(object subscriber, ThreadedMessageActions actions)
     : this(subscriber)
 {
     Actions = actions;
 }
Example #3
0
 /// <summary>
 ///     Removes all actions.
 /// </summary>
 public virtual void RemoveAllActions()
 {
     Actions = new ThreadedMessageActions();
 }