public ShipCatalogSortWorker() { this.IdColumn = new IdColumnViewModel(); this.TypeColumn = new TypeColumnViewModel(); this.NameColumn = new NameColumnViewModel(); this.LevelColumn = new LevelColumnViewModel(); this.ConditionColumn = new ConditionColumnViewModel(); this.FirepowerColumn = new FirepowerColumnViewModel(); this.TorpedoColumn = new TorpedoColumnViewModel(); this.AntiAirColumn = new AntiAirColumnViewModel(); this.ArmorColumn = new ArmorColumnViewModel(); this.LuckColumn = new LuckColumnViewModel(); this.ViewRangeColumn = new ViewRangeColumnViewModel(); this.EvasionColumn = new EvasionColumnViewModel(); this.AntiSubColumn = new AntiSubColumnViewModel(); this.sortableColumns = new List<SortableColumnViewModel> { this.noneColumn, this.IdColumn, this.TypeColumn, this.NameColumn, this.LevelColumn, this.ConditionColumn, this.FirepowerColumn, this.TorpedoColumn, this.AntiAirColumn, this.ArmorColumn, this.LuckColumn, this.ViewRangeColumn, this.EvasionColumn, this.AntiSubColumn, }; 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.FirepowerColumn = new FirepowerColumnViewModel(); this.TorpedoColumn = new TorpedoColumnViewModel(); this.AntiAirColumn = new AntiAirColumnViewModel(); this.ArmorColumn = new ArmorColumnViewModel(); this.LuckColumn = new LuckColumnViewModel(); this.ViewRangeColumn = new ViewRangeColumnViewModel(); this.EvasionColumn = new EvasionColumnViewModel(); this.AntiSubColumn = new AntiSubColumnViewModel(); this.sortableColumns = new List <SortableColumnViewModel> { this.noneColumn, this.IdColumn, this.TypeColumn, this.NameColumn, this.LevelColumn, this.ConditionColumn, this.FirepowerColumn, this.TorpedoColumn, this.AntiAirColumn, this.ArmorColumn, this.LuckColumn, this.ViewRangeColumn, this.EvasionColumn, this.AntiSubColumn, }; this.currentSortTarget = this.noneColumn; }