Exemplo n.º 1
0
        public AddModuleView()
        {
            _jsonHandlerService = new JSONHandlerService();
            _fileService        = new FileService();

            SetupView();
        }
Exemplo n.º 2
0
        public App()
        {
            _jsonHandlerService          = new JSONHandlerService();
            _calendarFileExporterService = new CalendarFileExporterService();
            _fileService            = new FileService();
            _shareDependencyService = DependencyService.Get <IShare>();

            CREATE_TEST_VIEWMODELS();
            //var foo = _jsonHandlerService.SerializeListToJson(MODULES);
            //_fileService.SaveText("test2.txt", foo);
            //var foo2 = _fileService.LoadText("test2.txt");

            //MODULES = new List<ModuleEventViewModel>();

            //MODULES = _jsonHandlerService.DeserializeListFromJson(foo2);

            //// TODO: Test json file deserialising


            SetupView();
        }