namespace Nonemm.Contests; /// One multiplier a QSO claims. `Scope` is what makes it distinct: a country /// counted once per band carries the band, one counted once carries nothing. /// /// `Weight` is how much this one is worth in the total. WAE counts a /// multiplier four times on 80 metres and twice on 20; everywhere else a /// multiplier is a multiplier and the weight is 1. public sealed record Multiplier(int Index, string Value, string Scope, int Weight = 1) { public override string ToString() => Scope.Length == 0 ? Value : $"{Value}/{Scope}"; }