Пример #1
0
        public ShipCatalogSortWorker()
        {
            this.IdColumn        = new IdColumnViewModel();
            this.TypeColumn      = new TypeColumnViewModel();
            this.NameColumn      = new NameColumnViewModel();
            this.LevelColumn     = new LevelColumnViewModel();
            this.ConditionColumn = new ConditionColumnViewModel();
            this.ViewRangeColumn = new ViewRangeColumnViewModel();

            this.sortableColumns = new List <SortableColumnViewModel>
            {
                this.noneColumn,
                this.IdColumn,
                this.TypeColumn,
                this.NameColumn,
                this.LevelColumn,
                this.ConditionColumn,
                this.ViewRangeColumn,
            };

            this.currentSortTarget = this.noneColumn;
        }
		public ShipCatalogSortWorker()
		{
			this.IdColumn = new IdColumnViewModel();
			this.TypeColumn = new TypeColumnViewModel();
			this.NameColumn = new NameColumnViewModel();
			this.LevelColumn = new LevelColumnViewModel();
			this.ConditionColumn = new ConditionColumnViewModel();
			this.ViewRangeColumn = new ViewRangeColumnViewModel();

			this.sortableColumns = new List<SortableColumnViewModel>
			{
				this.noneColumn,
				this.IdColumn,
				this.TypeColumn,
				this.NameColumn,
				this.LevelColumn,
				this.ConditionColumn,
				this.ViewRangeColumn,
			};

			this.currentSortTarget = this.noneColumn;
		}