ArcGISRuntime.Desktop.Viewer.Managers.SampleManager.CreateAllAsync C# (CSharp) Method

CreateAllAsync() private method

Creates whole sample structure.
private CreateAllAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        private async Task CreateAllAsync()
        {
           List<DirectoryInfo> sampleDirectories = new List<DirectoryInfo>();
           var serializer = new DataContractJsonSerializer(typeof(SampleModel));
          
            try
            {
                await Task.Run(() =>
                {
                    if (!File.Exists("groups.json"))
                        throw new NotImplementedException("groups.json file is missing");
                    _sampleStructureMap = SampleStructureMap.Create("groups.json", _selectedLanguage);
                });
            }
            // This is thrown if even one of the files requires permissions greater 
            // than the application provides. 
            catch (UnauthorizedAccessException e)
            {
                throw; //TODO
            }
            catch (DirectoryNotFoundException e)
            {
                throw; //TODO
            }
            catch (Exception e)
            {
                throw; //TODO
            }
        }