コード例 #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");
 }
コード例 #2
0
 public UberstrikeMemberView(PlayerCardView playerCardView, PlayerStatisticsView playerStatisticsView)
 {
     PlayerCardView       = playerCardView;
     PlayerStatisticsView = playerStatisticsView;
 }