public RoadJunctionBlockViewModel( MainBlockViewModel mainBlockViewModel, IEventAggregator eventAggreator ) { this._mainBlockViewModel = mainBlockViewModel; this._eventAggreator = eventAggreator; this._preview = new NameWithIconViewModel( this.Name, "" ); this._commands = new[] { new JunctionTypeViewModel {CommandType = CommandType.InsertRoadJunction_OneBlock, Name = "One block"}, new JunctionTypeViewModel {CommandType = CommandType.InsertRoadJunction_FourBlocks, Name = "Four blocks"}, new JunctionTypeViewModel { CommandType = CommandType.InsertRoadJunction_TwoBlocksVerticaly, Name = "Two blocks vertically" }, new JunctionTypeViewModel { CommandType = CommandType.InsertRoadJunction_TwoBlocksHorizotaly, Name = "Two blocks horizontally" }, }; }
public CarsRemoverViewModel( MainBlockViewModel mainBlockViewModel, IEventAggregator eventAggreator ) { this._mainBlockViewModel = mainBlockViewModel; this._eventAggreator = eventAggreator; this._preview = new NameWithIconViewModel( this.Name, "" ); }
public StandardLightViewModel( MainBlockViewModel mainBlockViewModel, IEventAggregator eventAggreator ) { this._mainBlockViewModel = mainBlockViewModel; this._eventAggreator = eventAggreator; this._preview = new NameWithIconViewModel( this.Name, "" ); }