/// <summary> /// The base DeviceHandler. All other DeviceHandlers derive from this class. /// </summary> public DeviceHandler(SscCommon common) : base(common) { Handlers.Add("name", HandleName); Handlers.Add("identity", HandleIdentity); Handlers.Add("network", HandleNetwork); Subscribe(BaseProperty, "name"); }
/// <summary> /// All handlers must derive from this class. /// </summary> public ABaseHandler(SscCommon common) { Common = common; Common.Responding += new EventHandler <SscRespondingEventArgs>(Common_Responding); common.AddHandler(BaseProperty, this); }