/// <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)); }
/// <inheritdoc /> public async Task Sync() { _syncData = await OneDriveDataSource.Retrieve <IDictionary <string, object> >(_fileWithExtension); }