public Itinerary() { Elements = new ObservableCollection <ItineraryElement>(); Elements.CollectionChangedAsObservable().Subscribe(OnCollectionChanged); delegates = new ItineraryElementDelegates(Elements.Remove, Elements.MoveUpElement, Elements.MoveDownElement); }
public ItineraryElement(ItineraryElementDelegates delegates) : this() { this.delegates = delegates; }
public TransportElement(TransportBase transport, ItineraryElementDelegates delegates, Departure lastArrive = null) : base(delegates, lastArrive) { Transport = transport; }
public PeriodElement(ItineraryElementDelegates delegates, Departure lastArrive = null) : base(delegates) { disposables = new CompositeDisposable(); CreatePeriodInstance(lastArrive); }