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; }
public override int GetHashCode() { return(TotalBetType.GetHashCode() ^ Time.GetHashCode() ^ Team.GetHashCode() ^ MatchName.GetHashCode()); }
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; }
public override int GetHashCode() { return(HandicapBetType.GetHashCode() ^ Time.GetHashCode() ^ MatchName.GetHashCode()); }
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; }
public override int GetHashCode() { return(ResultBetType.GetHashCode() ^ Time.GetHashCode() ^ MatchName.GetHashCode()); }
public bool Equals(MatchName name) { return(IsSameTeamName(FirstTeamNormalized, name.FirstTeamNormalized) && IsSameTeamName(SecondTeamNormalized, name.SecondTeamNormalized)); }