Move doc to interface

This commit is contained in:
naoey
2019-06-13 21:28:32 +05:30
parent 7ba676ad31
commit 3c2a2b2390
2 changed files with 6 additions and 5 deletions

View File

@ -72,11 +72,6 @@ namespace osu.Game.Database
return true;
}
/// <summary>
/// Checks whether a given <see cref="TModel"/> is available in the local store already.
/// </summary>
/// <param name="model">The <see cref="TModel"/> whose existence needs to be checked.</param>
/// <returns>Whether the <see cref="TModel"/> exists locally.</returns>
public virtual bool IsAvailableLocally(TModel model) => modelStore.ConsumableItems.Any(m => m.Equals(model) && !m.DeletePending);
public ArchiveDownloadRequest<TModel> GetExistingDownload(TModel model) => currentDownloads.Find(r => r.Model.Equals(model));