Exemplo 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);
        }
Exemplo n.º 2
0
 /// <summary>
 /// CTOR
 /// </summary>
 /// <param name="command"></param>
 public AddUserSortLocalDataCommand(AddUserSortDataViewCommand command)
     : base(command)
 {
     sort = command.Sort;
 }
Exemplo n.º 3
0
 /// <summary>
 /// CTOR
 /// </summary>
 /// <param name="command"></param>
 public AddUserSortRemoteDataViewCommand(AddUserSortDataViewCommand command)
     : base(command)
 {
     sort = command.Sort;
 }