Esempio n. 1
0
 /// <summary>
 /// Get the contents of a file as a string.
 /// </summary>
 /// <param name="fileWithExt">The file name with extension.</param>
 /// <returns>A task with the file contents as a string.</returns>
 public static async Task <string> Retrieve(string fileWithExt)
 {
     return(await OneDriveDataSource.Retrieve(fileWithExt));
 }
Esempio n. 2
0
 /// <inheritdoc />
 public async Task Sync()
 {
     _syncData = await OneDriveDataSource.Retrieve <IDictionary <string, object> >(_fileWithExtension);
 }