コード例 #1
0
 public ResultBet(ResultBetType ResultBetType, Time Time, double Odds, MatchName MatchName, string BetUrl, string JavaScriptSelectorCode, Sport Sport, Bookmaker Bookmaker)
 {
     this.ResultBetType          = ResultBetType;
     this.Time                   = Time;
     this.Odds                   = Odds;
     this.MatchName              = MatchName;
     this.BetUrl                 = BetUrl;
     this.JavaScriptSelectorCode = JavaScriptSelectorCode;
     this.Sport                  = Sport;
     this.Bookmaker              = Bookmaker;
 }
コード例 #2
0
 public override int GetHashCode()
 {
     return(TotalBetType.GetHashCode() ^ Time.GetHashCode() ^ Team.GetHashCode() ^ MatchName.GetHashCode());
 }
コード例 #3
0
 public TotalBet(TotalBetType TotalBetType, double TotalValue, Time Time, Team Team, double Odds, MatchName MatchName, string BetUrl, string JavaScriptSelectorCode, Sport Sport, Bookmaker Bookmaker)
 {
     this.Odds                   = Odds;
     this.TotalBetType           = TotalBetType;
     this.TotalValue             = TotalValue;
     this.Time                   = Time;
     this.Team                   = Team;
     this.MatchName              = MatchName;
     this.BetUrl                 = BetUrl;
     this.JavaScriptSelectorCode = JavaScriptSelectorCode;
     this.Sport                  = Sport;
     this.Bookmaker              = Bookmaker;
 }
コード例 #4
0
 public override int GetHashCode()
 {
     return(HandicapBetType.GetHashCode() ^ Time.GetHashCode() ^ MatchName.GetHashCode());
 }
コード例 #5
0
 public HandicapBet(HandicapBetType handicapBetType, double HandicapValue, Time Time, double Odds, MatchName MatchName, string BetUrl, string JavaScriptSelectorCode, Sport Sport, Bookmaker Bookmaker)
 {
     this.Odds                   = Odds;
     this.HandicapBetType        = handicapBetType;
     this.HandicapValue          = HandicapValue;
     this.Time                   = Time;
     this.MatchName              = MatchName;
     this.BetUrl                 = BetUrl;
     this.JavaScriptSelectorCode = JavaScriptSelectorCode;
     this.Sport                  = Sport;
     this.Bookmaker              = Bookmaker;
 }
コード例 #6
0
 public override int GetHashCode()
 {
     return(ResultBetType.GetHashCode() ^ Time.GetHashCode() ^ MatchName.GetHashCode());
 }
コード例 #7
0
ファイル: MatchName.cs プロジェクト: uvbs/oddsscanner
 public bool Equals(MatchName name)
 {
     return(IsSameTeamName(FirstTeamNormalized, name.FirstTeamNormalized) && IsSameTeamName(SecondTeamNormalized, name.SecondTeamNormalized));
 }