public AppDataModelTests() { appDataModel = AppDataModel.Singleton; fakeData = FakeData.Singleton; fileNames = new Dictionary<FavoriteType, string>(2); fileNames.Add(FavoriteType.Favorite, "favorites.xml"); fileNames.Add(FavoriteType.Recent, "recent.xml"); }
public AppDataModelTests() { appDataModel = AppDataModel.Singleton; fakeData = FakeData.Singleton; fileNames = new Dictionary <FavoriteType, string>(2); fileNames.Add(FavoriteType.Favorite, "favorites.xml"); fileNames.Add(FavoriteType.Recent, "recent.xml"); }
public AViewModel(IBusServiceModel busServiceModel, IAppDataModel appDataModel, ILocationModel locationModel) { this.lazyBusServiceModel = busServiceModel; this.lazyAppDataModel = appDataModel; if (!IsInDesignMode) { locationTracker = new LocationTracker(); operationTracker = new AsyncOperationTracker(); } // Set up the default action, just execute in the same thread UIAction = (uiAction => uiAction()); eventsRegistered = false; }
public MainPageVM(IBusServiceModel busServiceModel, IAppDataModel appDataModel) : base(busServiceModel, appDataModel) { Initialize(); }
public AViewModel(IBusServiceModel busServiceModel, IAppDataModel appDataModel) : this(busServiceModel, appDataModel, null) { }
public RouteDetailsVM(IBusServiceModel busServiceModel, IAppDataModel appDataModel) : base(busServiceModel, appDataModel) { Initialize(); }
public StopsMapVM(IBusServiceModel busServiceModel, IAppDataModel appDataModel) : base(busServiceModel, appDataModel) { Initialize(); }
public SettingsVM(IBusServiceModel busServiceModel, IAppDataModel appDataModel) : base(busServiceModel, appDataModel) { }