public MatchLabel(MatchLabel copy) { Division = copy.Division; Round = copy.Round; MatchNo = copy.MatchNo; Place = copy.Place; }
public override bool Equals(object obj) { if (obj is MatchLabel) { MatchLabel other = obj as MatchLabel; return(other.Division == Division && other.Round == Round && other.MatchNo == MatchNo); } return(false); }
public MatchInfo GetMatchByLabel(MatchLabel label) { if (label.IsEmpty) { return(null); } else { MatchInfo info; if (this.TryGetValue(FLabels[label], out info)) { return(info); } else { return(null); } //return this[FLabels[label]]; } }