Exemplo n.º 1
0
        public Itinerary()
        {
            Elements = new ObservableCollection <ItineraryElement>();
            Elements.CollectionChangedAsObservable().Subscribe(OnCollectionChanged);

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