1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-24 13:30:46 +08:00

Fix order

This commit is contained in:
naoey
2019-06-11 21:30:25 +05:30
Unverified
parent 06a558c4b7
commit d903ad2186
@@ -72,15 +72,9 @@ 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 bool IsAvailableLocally(TModel model) => modelStore.ConsumableItems.Any(m => m.Equals(model));
/// <summary>
/// Downloads a <see cref="TModel"/> with optional parameters for the download request.
/// This will post notifications tracking progress.
/// </summary>
/// <param name="model">The <see cref="TModel"/> to be downloaded.</param>
/// <param name="extra">Optional parameters to be used for creating the download request.</param>
@@ -96,6 +90,13 @@ 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 bool IsAvailableLocally(TModel model) => modelStore.ConsumableItems.Any(m => m.Equals(model));
/// <summary>
/// Gets an existing <see cref="TModel"/> download request if it exists.
/// </summary>