コード例 #1
0
ファイル: X.cs プロジェクト: bjornebjornson/LottoNh2
 public static ISpiel toSpiel(this ISitzung sitzung)
 {
     var spiel = new Spiel(sitzung.Auftraege.Select(x => x.toSchein()).ToArray());
     spiel.Vorlage = spiel.Scheine[0];
     return spiel;
 }
コード例 #2
0
ファイル: Lotto.cs プロジェクト: bjornebjornson/LottoNh2
 public static void delete()
 {
     var spiel = new Spiel { Vorlage = new Normalschein() };
     CurrentSpiel = spiel;
 }