示例#1
0
 public int CompareTo(object obj)
 {
     if (obj is PlayerCardView)
     {
         PlayerCardView playerCardView = obj as PlayerCardView;
         return(-(playerCardView.Ranking - Ranking));
     }
     throw new ArgumentOutOfRangeException("Parameter is not of the good type");
 }
 public UberstrikeMemberView(PlayerCardView playerCardView, PlayerStatisticsView playerStatisticsView)
 {
     PlayerCardView       = playerCardView;
     PlayerStatisticsView = playerStatisticsView;
 }