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.

21 lines
683 B

using CanYouBuildIt.Model;
using Microsoft.Maui.Controls;
using System.Diagnostics;
namespace CanYouBuildIt;
public partial class App : Application
{
// -- Défini si on charge les données depuis un fichier ou le stub -- //
public Manager manager { get; private set; } = new Manager(new Stub());
//public Manager manager { get; private set; } = new Manager(new DataContractPersistance.DataContractPers());
public App()
{
manager.chargeDonne();
manager.Persi = new DataContractPersistance.DataContractPers();
manager.sauvegardeDonnee();
Debug.WriteLine(manager.listUtil[0]);
InitializeComponent();
MainPage = new AppShell();
}
}