Esempio n. 1
0
        /// <summary>
        /// Execute AddSortCommand
        /// </summary>
        /// <param name="res"></param>
        public override void  Execute(rt.IResultValue res)
        {
            MGDataCollection           mgDataTab = MGDataCollection.Instance;
            Task                       task      = (Task)mgDataTab.GetTaskByID(TaskTag);
            AddUserSortDataViewCommand command   = CommandFactory.CreateAddUserSortDataviewCommand(TaskTag, UserSort);

            task.DataviewManager.Execute(command);
        }
 /// <summary>
 /// CTOR
 /// </summary>
 /// <param name="command"></param>
 public AddUserSortLocalDataCommand(AddUserSortDataViewCommand command)
     : base(command)
 {
     sort = command.Sort;
 }
Esempio n. 3
0
 /// <summary>
 /// CTOR
 /// </summary>
 /// <param name="command"></param>
 public AddUserSortRemoteDataViewCommand(AddUserSortDataViewCommand command)
     : base(command)
 {
     sort = command.Sort;
 }