Beispiel #1
0
        public async Task <bool> LoadWorkspace()
        {
            try
            {
                NoteCollection = await SettingsStorageExtensions.ReadAsync <ObservableCollection <Note> >(ApplicationData.Current.RoamingFolder, WName);

                if (NoteCollection == null)
                {
                    NoteCollection = new ObservableCollection <Note>();
                }
            }
            catch (Exception e)
            {
                return(false);
            }
            return(true);
        }