private void TestSeatType(SeatType expectedSeatType) { string handText = SampleHandHistoryRepository.GetSeatExampleHandHistoryText(PokerFormat.CashGame, Site, expectedSeatType); Assert.AreEqual(expectedSeatType, GetSummmaryParser().ParseSeatType(handText), "IHandHistorySummaryParser: ParseSeatType"); Assert.AreEqual(expectedSeatType, GetParser().ParseSeatType(handText), "IHandHistoryParser: ParseSeatType"); }
public GameDescriptor() : this(PokerFormat.Unknown, SiteName.Unknown, GameType.Unknown, Limit.AllLimit(), TableType.FromTableTypeDescriptions(), SeatType.AllSeatType()) { }
public GameDescriptor(SiteName siteName, GameType gameType, Buyin buyin, TableType tableType, SeatType seatType) : this(PokerFormat.SitAndGo, siteName, gameType, buyin, tableType, seatType) { }
public GameDescriptor(SiteName siteName, GameType gameType, Limit limit, TableType tableType, SeatType seatType) : this(PokerFormat.CashGame, siteName, gameType, limit, tableType, seatType) { }
public GameDescriptor(SiteName siteName, GameType gameType, Limit limit, TableType tableType, SeatType seatType) : this(PokerFormat.CashGame, siteName, gameType, limit, tableType, seatType) { }
public GameDescriptor(EnumPokerSites siteName, GameType gameType, Limit limit, TableType tableType, SeatType seatType, TournamentDescriptor tournament) : this(PokerFormat.CashGame, siteName, gameType, limit, tableType, seatType, tournament) { }
public GameDescriptor(SiteName siteName, GameType gameType, Buyin buyin, TableType tableType, SeatType seatType) : this(PokerFormat.SitAndGo, siteName, gameType, buyin, tableType, seatType) { }
public GameDescriptor(SiteName siteName, GameType gameType, string tournamentId, Limit limit, TableType tableType, SeatType seatType) : this(PokerFormat.SitAndGo, siteName, gameType, tournamentId, limit, tableType, seatType) { }
public GameDescriptor() : this(PokerFormat.Unknown, EnumPokerSites.Unknown, GameType.Unknown, null, TableType.FromTableTypeDescriptions(), SeatType.AllSeatType(), null) { }
public GameDescriptor(PokerFormat pokerFormat, SiteName siteName, GameType gameType, Buyin buyin, TableType tableType, SeatType seatType) { PokerFormat = pokerFormat; Site = siteName; GameType = gameType; Buyin = buyin; TableType = tableType; SeatType = seatType; }
public GameDescriptor(PokerFormat pokerFormat, SiteName siteName, GameType gameType, Limit limit, TableType tableType, SeatType seatType) { PokerFormat = pokerFormat; Site = siteName; GameType = gameType; Limit = limit; TableType = tableType; SeatType = seatType; }
public GameDescriptor(PokerFormat pokerFormat, SiteName siteName, GameType gameType, Buyin buyin, TableType tableType, SeatType seatType) { PokerFormat = pokerFormat; Site = siteName; GameType = gameType; Buyin = buyin; TableType = tableType; SeatType = seatType; }
public GameDescriptor(PokerFormat pokerFormat, SiteName siteName, GameType gameType, Limit limit, TableType tableType, SeatType seatType) { PokerFormat = pokerFormat; Site = siteName; GameType = gameType; Limit = limit; TableType = tableType; SeatType = seatType; }
public GameDescriptor(PokerFormat pokerFormat, SiteName siteName, GameType gameType, string tournamentId, Limit limit, TableType tableType, SeatType seatType) { PokerFormat = pokerFormat; Site = siteName; TournamentId = tournamentId; Limit = limit; GameType = gameType; TableType = tableType; SeatType = seatType; }
public GameDescriptor(PokerFormat pokerFormat, EnumPokerSites siteName, GameType gameType, Limit limit, TableType tableType, SeatType seatType, TournamentDescriptor tournament) { PokerFormat = pokerFormat; Site = siteName; GameType = gameType; Limit = limit; TableType = tableType; SeatType = seatType; Tournament = tournament; }
public string GetSeatExampleHandHistoryText(PokerFormat pokerFormat, SiteName siteName, SeatType seatType) { return GetHandText(pokerFormat, siteName, "Seats", seatType.ToString()); }
public static SeatType Parse(string seatType) { switch (seatType.ToLower()) { case "hu": case "heads up": case "headsup": case "1-on-1": case "2": case "2 handed": return(SeatType.FromMaxPlayers(2)); case "3": case "3 handed": case "3 max": case "3max": case "3-max": return(SeatType.FromMaxPlayers(3)); case "4 max": case "four max": case "fourmax": case "4max": case "4": return(SeatType.FromMaxPlayers(4)); case "5": case "5 handed": case "5 max": case "5max": case "5-max": return(SeatType.FromMaxPlayers(5)); case "6 max": case "six max": case "sixmax": case "6max": case "6": case "6 handed": case "3to6": return(SeatType.FromMaxPlayers(6)); case "7": case "7 handed": case "7 max": case "7max": case "7-max": return(SeatType.FromMaxPlayers(7)); case "8": case "8 handed": case "8 max": case "8max": case "8-max": return(SeatType.FromMaxPlayers(8)); case "full ring (9 handed)": case "9": case "9 handed": return(SeatType.FromMaxPlayers(9)); case "fr": case "full ring": case "ring": case "full": case "full ring (10 handed)": case "10": case "10 handed": return(SeatType.FromMaxPlayers(10)); default: return(SeatType.AllSeatType()); } }