Ejemplo n.º 1
0
        public ICommand DefineSyncCommand(string name, Action OnExecute, Action OnCancel = null)
        {
            var cmd = new SyncCommand(name, task_manager, OnExecute, OnCancel);

            defined_cmds.Add(cmd.GetNameHash(), cmd);
            return(cmd);
        }