public Factory(Navigation.IService navigationService, Data.IProvider dataProvider, Event.IBus eventBus, Platform.ISchedulers platformSchedulers) { _navigationService = navigationService; _dataProvider = dataProvider; _eventBus = eventBus; _platformSchedulers = platformSchedulers; }
public State(Event.IBus eventBus, CODuo.ViewModel.IFactory viewModelFactory, Platform.ISchedulers schedulers, IViewModel initialViewModel) { _eventBus = eventBus; _viewModelFactory = viewModelFactory; _schedulers = schedulers; _initialViewModel = initialViewModel; }
public Factory( Event.IBus eventBus, Data.IProvider dataProvider) { _eventBus = eventBus; _dataProvider = dataProvider; }
public ViewModel(Event.IBus eventBus, Platform.IInformation platformInformation, Platform.ISchedulers platformSchedulers) { _eventBus = eventBus; _schedulers = platformSchedulers; _view = new BehaviorSubject <View>(null); SafeMargin = platformInformation.RequiredMargin; }
public Factory( Event.IBus eventBus, ViewModel.IFactory viewModelFactory, Platform.ISchedulers platformSchedulers) { _eventBus = eventBus; _viewModelFactory = viewModelFactory; _platformSchedulers = platformSchedulers; }
public Provider(Platform.ISchedulers schedulers, Event.IBus eventBus) { _eventBus = eventBus; var httpClient = CreateHttpClient(); var timedSource = Observable .Interval(TimeSpan.FromMinutes(15), schedulers.Default); var requestSource = eventBus .GetEvent <Event.Data.Requested>() .Select(_ => schedulers.Default.Now.Ticks); _observable = Observable .Merge(timedSource, requestSource) .StartWith(0) .SelectMany(_ => FetchContainer(httpClient)) .Replay(1); }
public Suspended(Aggregate.IRoot aggregateRoot, Event.IBus eventBus) { _aggregateRoot = aggregateRoot; _eventBus = eventBus; }
public Running(Aggregate.IRoot aggregateRoot, Event.IBus eventBus) { _aggregateRoot = aggregateRoot; _eventBus = eventBus; }