Exemple #1
0
		public NewEntryViewModel (INavService navService, ILocationService locService, ITripLogDataService tripLogDataService) : base(navService)
		{
			this.tripLogDataService = tripLogDataService;
			this.locService = locService;
			Date = DateTime.Today;
			Rating = 1;
		}
 public BuyAndHoldController(IBuyAndHoldService buyAndHoldService,
     ITickerService tickerService,
     INavService navService,
     ISecurityService securityService,
     IBuyAndHoldTransactionDtoMap buyAndHoldTransactionDtoMap,
     IBuyAndHoldRawTransactionMapper buyAndHoldRawTransactionMapper,
     IBuyAndHoldTransactionLibrary buyAndHoldTransactionLibrary,
     IBuyAndHoldRawTransactionLibrary buyAndHoldRawTransactionLibrary)
 {
     _buyAndHoldService = buyAndHoldService;
     _tickerService = tickerService;
     _navService = navService;
     _securityService = securityService;
     _buyAndHoldTransactionDtoMap = buyAndHoldTransactionDtoMap;
     _buyAndHoldRawTransactionMapper = buyAndHoldRawTransactionMapper;
     _buyAndHoldTransactionLibrary = buyAndHoldTransactionLibrary;
     _buyAndHoldRawTransactionLibrary = buyAndHoldRawTransactionLibrary;
 }
Exemple #3
0
		public MainViewModel (INavService navService, ITripLogDataService tripLogDataService, IBlobCache cache) : base(navService)
		{
			this.tripLogDataService = tripLogDataService;
			this.cache = cache;
			LogEntries = new ObservableCollection<TripLogEntry> ();
		}
Exemple #4
0
		public SignInViewModel (INavService navService, IAuthService authService, ITripLogDataService tripLogService) : base(navService)
		{
			this.authService = authService;
			this.tripLogService = tripLogService;
		}
Exemple #5
0
		protected BaseViewModel (INavService navService)
		{
			NavService = navService;
		}