Remove unused delegate, use model name in notifications, add more xmldoc

- Applies a `class` constraint to the generic type in `IModelManager`
- Add xmldoc
This commit is contained in:
naoey
2019-06-12 18:35:34 +05:30
parent c5f1da0f71
commit 9cd5519da3
5 changed files with 14 additions and 10 deletions

View File

@ -6,6 +6,10 @@ using System;
namespace osu.Game.Database
{
/// <summary>
/// Represents a <see cref="IModelManager{TModel}"/> that can download new models from an external source.
/// </summary>
/// <typeparam name="TModel">The model type.</typeparam>
public interface IModelDownloader<TModel> : IModelManager<TModel>
where TModel : class
{
@ -23,7 +27,7 @@ namespace osu.Game.Database
/// <summary>
/// Downloads a <see cref="TModel"/>.
/// This will post notifications tracking progress.
/// This may post notifications tracking progress.
/// </summary>
/// <param name="model">The <see cref="TModel"/> to be downloaded.</param>
/// <returns>Whether downloading can happen.</returns>
@ -31,7 +35,7 @@ namespace osu.Game.Database
/// <summary>
/// Downloads a <see cref="TModel"/> with optional parameters for the download request.
/// This will post notifications tracking progress.
/// This may 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>