Пример #1
0
        public ListFavoritesViewModel(INavigationService navigationService)
        {

            _navigationService = navigationService;
            data = new AzureDataAccess();
            Recipes = new ObservableCollection<Recipe>();
            var loader = new Windows.ApplicationModel.Resources.ResourceLoader();
            var tradFavorite = loader.GetString("favRecipeDesc");
        }
Пример #2
0
 public MainPageViewModel(INavigationService navigationService)
 {
     data = new AzureDataAccess();
     _navigationService = navigationService;
     var loader = new Windows.ApplicationModel.Resources.ResourceLoader();
     var tradHome = loader.GetString("homeTitle");
     var tradOr = loader.GetString("orText");
     var tradLoginIput = loader.GetString("loginInput");
     var tradPasswordInput = loader.GetString("passwordInput");
     var tradSubscrie = loader.GetString("subscribeTitle");
     var tradLogin = loader.GetString("loginTitle");
 }
Пример #3
0
 public RecipeViewModel()
 {
     data = new AzureDataAccess();
     var loader = new Windows.ApplicationModel.Resources.ResourceLoader();
     var tradRecipe = loader.GetString("recipe");
 }
Пример #4
0
 public SubscribeViewModel(INavigationService navigationService)
 {
     _navigationService = navigationService;
     data = new AzureDataAccess();
     var loader = new Windows.ApplicationModel.Resources.ResourceLoader();
     var tradLogin = loader.GetString("loginInput");
     var tradLoginTitle = loader.GetString("loginTitle");
     var tradPassword = loader.GetString("passwordInput");
     var tradPassConf = loader.GetString("passwordConfInput");
 }