Beispiel #1
0
 private Result <NameSelection> MustBeDifferent(string name1, string name2)
 => Must.NotBe(
     model: this,
     condition: string.CompareOrdinal(name1, name2) == 0,
     propertyName: null,
     message: Message.DifferentNames);