Пример #1
0
		public SaveStoreViewModel(IStoreManager storeManager, IStoreCategoryManager categoryManager, ICountryManager countryManager, 
			ICityManager cityManager, IAuthenticationService authService, IMvxMessenger messenger)
			: base(authService, messenger)
		{
			this.ShouldSubscribeToSessionChange = true;
			this._storeManager = storeManager;
			this._cityManager = cityManager;
			this._countryManager = countryManager;
			this._categoryManager = categoryManager;
			this.PropertyChanged += propertyChanged;
			this.MainImage = new ImageViewModel();
		}
Пример #2
0
		public FilterStoresViewModel(IStoreManager storeManager,
		                             IStoreCategoryManager categoryManager,
		                             ICountryManager countryManager, 
		                             ICityManager cityManager, 
		                             ITagManager tagManager)
			: base()
		{
			this._storeManager = storeManager;
			this._tagManager = tagManager;
			this._cityManager = cityManager;
			this._countryManager = countryManager;
			this._categoryManager = categoryManager;
			this.StoreFilter.PropertyChanged += StoreFilter_PropertyChanged;
		}