Rename request type to be less verbose

This commit is contained in:
Dean Herbert
2019-06-12 13:30:23 +09:00
parent eaeeffaa86
commit c591a6f1fa
6 changed files with 16 additions and 16 deletions

View File

@ -12,12 +12,12 @@ namespace osu.Game.Database
/// <summary>
/// Fired when a <see cref="TModel"/> download begins.
/// </summary>
event Action<ArchiveDownloadModelRequest<TModel>> DownloadBegan;
event Action<ArchiveDownloadRequest<TModel>> DownloadBegan;
/// <summary>
/// Fired when a <see cref="TModel"/> download is interrupted, either due to user cancellation or failure.
/// </summary>
event Action<ArchiveDownloadModelRequest<TModel>> DownloadFailed;
event Action<ArchiveDownloadRequest<TModel>> DownloadFailed;
bool IsAvailableLocally(TModel model);
@ -42,7 +42,7 @@ namespace osu.Game.Database
/// Gets an existing <see cref="TModel"/> download request if it exists.
/// </summary>
/// <param name="model">The <see cref="TModel"/> whose request is wanted.</param>
/// <returns>The <see cref="ArchiveDownloadModelRequest{TModel}"/> object if it exists, otherwise null.</returns>
ArchiveDownloadModelRequest<TModel> GetExistingDownload(TModel model);
/// <returns>The <see cref="ArchiveDownloadRequest{TModel}"/> object if it exists, otherwise null.</returns>
ArchiveDownloadRequest<TModel> GetExistingDownload(TModel model);
}
}