コード例 #1
0
 public bool KeyEquals(TSCSingers a)
 {
     if ((object)a == null)
     {
         return(false);
     }
     return(
         (a.SingerKey.Trim().ToLower() == SingerKey.Trim().ToLower())
         );
 }
コード例 #2
0
 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())
         );
 }
コード例 #3
0
ファイル: Program.cs プロジェクト: dmooring52/MySource
 public bool KeyEquals(TSCSingersSongs a)
 {
     if ((object)a == null)
     {
         return(false);
     }
     return(
         a.SingerKey.Trim().ToLower() == SingerKey.Trim().ToLower() &&
         a.Title.Trim().ToLower() == Title.Trim().ToLower() &&
         a.Artist.Trim().ToLower() == Artist.Trim().ToLower()
         );
 }