예제 #1
0
        public Itinerary()
        {
            Elements = new ObservableCollection <ItineraryElement>();
            Elements.CollectionChangedAsObservable().Subscribe(OnCollectionChanged);

            delegates = new ItineraryElementDelegates(Elements.Remove, Elements.MoveUpElement, Elements.MoveDownElement);
        }
예제 #2
0
 public ItineraryElement(ItineraryElementDelegates delegates) : this()
 {
     this.delegates = delegates;
 }
예제 #3
0
 public TransportElement(TransportBase transport, ItineraryElementDelegates delegates, Departure lastArrive = null)
     : base(delegates, lastArrive)
 {
     Transport = transport;
 }
예제 #4
0
 public PeriodElement(ItineraryElementDelegates delegates, Departure lastArrive = null) : base(delegates)
 {
     disposables = new CompositeDisposable();
     CreatePeriodInstance(lastArrive);
 }