Esempio n. 1
0
        public override int GetHashCode()
        {
            var hashCode = 1448281622;

            hashCode = hashCode * -1521134295 + SelectedCharacter.GetHashCode();
            hashCode = hashCode * -1521134295 + SelectedStages.GetHashCode();
            return(hashCode);
        }
Esempio n. 2
0
 public bool Equals(SelectedGame obj)
 {
     if (obj == null)
     {
         return(false);
     }
     if (obj.GetType() != this.GetType())
     {
         return(false);
     }
     return(SelectedCharacter.Equals(obj.SelectedCharacter) && SelectedStages.Equals(obj.SelectedStages));
 }
Esempio n. 3
0
 public SelectedGame(SelectedCharacter selectedCharacter, SelectedStages selectedStages)
 {
     SelectedCharacter = selectedCharacter;
     SelectedStages    = selectedStages;
 }