示例#1
0
 /// <summary>
 /// henter locations fra Locations.json
 /// </summary>
 /// <returns></returns>
 public async Task UpdateLocationsAsync()
 {
     if (!File.Exists(_file.Folder.Path + "\\Locations.json"))
     {
         await SaveLocations();
     }
     _locations = await _file.LoadModelAsync();
 }
        public async Task <TextChanger> LoadTextAsync()
        {
            _textChange = await _fileSourceText.LoadModelAsync();

            return(_textChange);
        }
        public async Task <AudioProperties> LoadAudioAsync()
        {
            _audioProperties = await _fileSourceAudio.LoadModelAsync();

            return(_audioProperties);
        }