public void SubscribeToSystem(ISubSystemHost sender) { _subSystemHost = sender; }
/// <summary>Subscribe to receive system updates from this system.</summary> /// <param name="sender">The subscribing system; generally use 'this'.</param> public void SubscribeToSystem(ISubSystemHost sender) { }
/// <summary>Subscribe to receive system updates from this system.</summary> /// <param name="sender">The subscribing system; generally use 'this'.</param> public void SubscribeToSystem(ISubSystemHost sender) { this.subSystemHost = sender; }
/// <summary>Removes subscriptions from the system.</summary> public void UnsubscribeToSystem() { this.host = null; }
/// <summary>Initializes a new instance of the CommandProcessor class.</summary> /// <param name="host">The host of this CommandProcessor SubSystem.</param> public CommandProcessor(ISubSystemHost host) { this.host = host; }
/// <summary> /// Unsubscribe from currently subscribed system. /// </summary> public void UnsubscribeToSystem() { subSystemHost = null; }
/// <summary> /// Initializes a new instance of the CommandProcessor class. /// </summary> /// <param name="host">The host of this CommandProcessor SubSystem.</param> public CommandProcessor(ISubSystemHost host) { this.host = host; }