1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 12:23:22 +08:00

Make generic covariant

This commit is contained in:
Dean Herbert 2019-06-19 01:57:38 +09:00
parent 341dc74834
commit 1bcff8a3e2

View File

@ -9,7 +9,7 @@ namespace osu.Game.Database
/// Represents a model manager that publishes events when <see cref="TModel"/>s are added or removed.
/// </summary>
/// <typeparam name="TModel">The model type.</typeparam>
public interface IModelManager<TModel>
public interface IModelManager<out TModel>
where TModel : class
{
event Action<TModel, bool> ItemAdded;