mirror of
https://github.com/ppy/osu
synced 2024-12-26 17:02:59 +00:00
Make generic covariant
This commit is contained in:
parent
341dc74834
commit
1bcff8a3e2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user