Suggestions from review

This commit is contained in:
Cody Robibero
2021-10-27 19:20:14 -06:00
parent a6357f89ab
commit c534c45033
5 changed files with 59 additions and 14 deletions

View File

@@ -1,5 +1,6 @@
using System.IO;
using System.Threading.Tasks;
using MediaBrowser.Controller.Net;
using MediaBrowser.Model.ClientLog;
namespace MediaBrowser.Controller.ClientEvent
@@ -18,9 +19,9 @@ namespace MediaBrowser.Controller.ClientEvent
/// <summary>
/// Writes a file to the log directory.
/// </summary>
/// <param name="fileName">The file name.</param>
/// <param name="fileContents">The file contents.</param>
/// <param name="authorizationInfo">The current authorization info.</param>
/// <param name="fileContents">The file contents to write.</param>
/// <returns>A <see cref="Task"/> representing the asynchronous operation.</returns>
Task WriteFileAsync(string fileName, Stream fileContents);
Task WriteDocumentAsync(AuthorizationInfo authorizationInfo, Stream fileContents);
}
}