public ItemEditorCreator(IEventAggregator eventAggregator, IConstants constants, IAmeSession session, TilesetModel tilesetModel, ScrollModel scrollModel) { this.eventAggregator = eventAggregator ?? throw new ArgumentNullException("eventAggregator is null"); this.constants = constants ?? throw new ArgumentNullException("constants is null"); this.session = session ?? throw new ArgumentNullException("session is null"); this.TilesetModel = tilesetModel; this.ScrollModel = scrollModel; }
public ItemEditorCreator(IEventAggregator eventAggregator, IConstants constants, IAmeSession session, ScrollModel scrollModel) : this(eventAggregator, constants, session, null, scrollModel) { }
public TilesetPropertiesViewModel(IConstants constants, IAmeSession session) : this(constants, session, ScrollModel.DefaultScrollModel()) { }
public SelectedBrushCreator(IEventAggregator eventAggregator, IConstants constants, ScrollModel scrollModel) { this.eventAggregator = eventAggregator ?? throw new ArgumentNullException("eventAggregator is null"); this.constants = constants ?? throw new ArgumentNullException("constants is null"); this.ScrollModel = scrollModel; }
public MapEditorCreator(IEventAggregator eventAggregator, IConstants constants, IAmeSession session, Map map, ScrollModel scrollModel) { this.eventAggregator = eventAggregator ?? throw new ArgumentNullException("eventAggregator is null"); this.constants = constants ?? throw new ArgumentNullException("constants is null"); this.session = session ?? throw new ArgumentNullException("session is null"); this.ScrollModel = scrollModel; string mapTitle = string.Format("Map #{0}", session.MapCount); this.Map = map ?? new Map(mapTitle); }