Namespace Serenity.Leaderboard.Tests.Fakes
Classes
InMemoryLeaderboardStore
In-memory ILeaderboardStore used for tests. Honors LeaderboardRetentionMode (raw storage keeps at most one entry per player for BestPerPlayer, or the full submission history for FullHistory) and MaxEntries trimming. Read operations follow the ILeaderboardStore read-operation contract: they rank over each player's best entry, regardless of retention mode — except GetTopAsync(BoardId, int, LeaderboardSortDirection, LeaderboardRankingMode, CancellationToken)'s AllEntries path, which returns every raw stored row instead.