You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
670 B
23 lines
670 B
using DataPersistence;
|
|
using Model;
|
|
using Model.Managers;
|
|
|
|
namespace Views
|
|
{
|
|
public partial class Home : ContentPage
|
|
{
|
|
public MasterManager MasterMgr => (App.Current as App).MasterMgr;
|
|
public User user => (App.Current as App).CurrentUser;
|
|
|
|
public RecipeCollection AllRecipes => (App.Current as App).AllRecipes;
|
|
public Home()
|
|
{
|
|
//DataMgr = new DataManager(new Stubs());
|
|
//AllRecipes = new RecipeCollection("Toutes les recettes", DataMgr.Data[nameof(Recipe)].Cast<Recipe>().ToArray());
|
|
|
|
InitializeComponent();
|
|
BindingContext = this;
|
|
}
|
|
}
|
|
}
|