public bool KeyEquals(TSCEvents a) { if ((object)a == null) { return(false); } return( (a.EventKey.Trim().ToLower() == EventKey.Trim().ToLower()) ); }
public bool KeyEquals(TSCQueue a) { if ((object)a == null) { return(false); } return( (a.EventKey.Trim().ToLower() == EventKey.Trim().ToLower()) && (a.QueueRound == QueueRound) && (a.SingerKey.Trim().ToLower() == SingerKey.Trim().ToLower()) ); }