コード例 #1
0
ファイル: MainPresentor.cs プロジェクト: Galit1321/Maze
        /// <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);
        }
コード例 #2
0
 /// <summary>
 /// get who to notupy
 /// </summary>
 /// <param name="getable">getable</param>
 public void GetNewNotif(out IGetableCommand getable)
 {
     getable = this.clientHandle as IGetableCommand;
 }