Пример #1
0
 public SolarSystemPageModel(
     IHttpDataLoader <CelestialObjectPositionViewModel, CelestialObjectPositionModel> dataLoader,
     IHttpDataLoader <CelestialObjectViewModel, CelestialObjectModel> celestialObjectDataLoader)
     : base(dataLoader)
 {
     CelestialObjectDataLoader = celestialObjectDataLoader;
     CelestialObjectDataLoader.CollectionFetchedEvent += CelestialObjectDataLoaderOnCollectionFetchedEvent;
     CelestialObjectDataLoader.EndOfCollectionEvent   += CelestialObjectDataLoaderOnEndOfCollectionEvent;
     CelestialObjectDataLoader.LoadAsync(DataLoading.Refresh, SolarSystem.Helpers.Seeder.CelestialObjectSeedHelper.GetSun());
 }
Пример #2
0
 public MoonComparePageModel(IHttpDataLoader <CelestialObjectViewModel, CelestialObjectModel> dataLoader)
     : base(dataLoader)
 {
 }
Пример #3
0
 public PlanetOverviewPageModel(IHttpDataLoader <CelestialObjectViewModel, CelestialObjectModel> dataLoader)
     : base(dataLoader)
 {
 }
 protected CelestialComparePageModel(IHttpDataLoader <CelestialObjectViewModel, CelestialObjectModel> dataLoader)
     : base(dataLoader)
 {
 }