mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Implement FindProvider
and AllSources
properly on all test ISkinSource
s
This commit is contained in:
@ -159,8 +159,9 @@ namespace osu.Game.Tests.Beatmaps
|
||||
remove { }
|
||||
}
|
||||
|
||||
public ISkin FindProvider(Func<ISkin, bool> lookupFunction) => null;
|
||||
public IEnumerable<ISkin> AllSources => Enumerable.Empty<ISkin>();
|
||||
public ISkin FindProvider(Func<ISkin, bool> lookupFunction) => lookupFunction(this) ? this : null;
|
||||
|
||||
public IEnumerable<ISkin> AllSources => new[] { this };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user