Add new IDependencyInjectionCandidate interface to non-drawable cached classes

This commit is contained in:
Dean Herbert
2022-11-29 14:45:26 +09:00
parent b5b79e09e4
commit 61c702c02e
5 changed files with 5 additions and 5 deletions

View File

@ -164,7 +164,7 @@ namespace osu.Game.Tests.Beatmaps
return fallback.Get(type, info);
}
public void Inject<T>(T instance) where T : class
public void Inject<T>(T instance) where T : class, IDependencyInjectionCandidate
{
// Never used directly
}