Commit Graph

8 Commits

Author SHA1 Message Date
Salman Ahmed 9574bc1382 Allow `IRulesetInfo`s of same type to be comparable
At first I was planning on making `CompareTo` implemented at
`IRulesetInfo` itself and shared across classes, but turns out it only
implements it explicitly and not allow direct `IRulesetInfo.Equals`
calls.

It messed with my head enough that I decided to just let each class have
its own implementation and only allow same type.
2022-02-11 04:03:23 +03:00
Dean Herbert 5637fd64d6 Perform ordering using `IComparable` instead 2022-01-27 15:59:20 +09:00
Dean Herbert 15db1372aa Add missing equality implementations on `IRulesetInfo` 2021-12-03 18:01:45 +09:00
Dean Herbert 8d69ebd7db Remove nullability of `Ruleset.CreateInstance` 2021-11-24 12:23:06 +09:00
Dean Herbert 34d4715220 Allow for `long` online IDs and implement in `ScoreInfo` 2021-10-29 11:48:36 +09:00
Dean Herbert 4d5696959b
Remove unnecessary access modifier in interface
Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
2021-10-06 05:52:28 +09:00
Dean Herbert fd6b10656c Add TODO reminder about ruleset reference transfer quirk 2021-10-04 16:55:16 +09:00
Dean Herbert d309636460 Update all EF based models to implement new read only interfaces 2021-10-01 16:55:50 +09:00