// Factory method to create the datasource
 // Requires async work which is why it needs a factory rather than being part of the constructor
 public static async Task<FileDataSource> GetDataSoure(string path)
 {
     FileDataSource ds = new FileDataSource();
     StorageFolder f = await StorageFolder.GetFolderFromPathAsync(path);
     await ds.SetFolder(f);
     return ds;
 }
        // Factory method to create the datasource
        // Requires async work which is why it needs a factory rather than being part of the constructor
        public static async Task <FileDataSource> GetDataSoure(string path)
        {
            FileDataSource ds = new FileDataSource();
            StorageFolder  f  = await StorageFolder.GetFolderFromPathAsync(path);

            await ds.SetFolder(f);

            return(ds);
        }