/// <summary> /// handle command /// </summary> /// <param name="who">who send and get form it</param> /// <param name="args">none</param> public void GetNextMsg(IGetableCommand who, EventArgs args) { string msg; ISendableView sendable; who.GetCommand(out msg, out sendable); CommandHandler c = new CommandHandler(this.convert, this.model, msg, sendable); Task.Factory.StartNew(c.Handle); }
/// <summary> /// get who to notupy /// </summary> /// <param name="getable">getable</param> public void GetNewNotif(out IGetableCommand getable) { getable = this.clientHandle as IGetableCommand; }