public AddingNewEventViewModel(BridgeToBd bridge) { if (bridge == null) throw new ArgumentNullException("bridge"); _bridge = bridge; DatePlanned = DateTime.Now; }
public EventEditorViewModel(BridgeToBd bridge) { if (bridge == null) throw new ArgumentNullException("bridge"); _bridge = bridge; _bridge.ChangingEvent += OnChangingEvent; _bridge.ChangingEvents += () => { RaisePropertyChanged("Events"); }; }
public ShowTodayEventsViewModel(BridgeToBd bridge) { if (bridge == null) throw new ArgumentNullException("bridge"); _bridge = bridge; }