PurplePen.VariationInfo.Equals C# (CSharp) Méthode

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool
        public override bool Equals(object obj)
        {
            VariationInfo other = obj as VariationInfo;
            if (other == null)
                return false;

            if (other.CodeString != CodeString)
                return false;
            if (!other.Path.Equals(Path))
                return false;
            if (Team != other.Team)
                return false;
            if (Leg != other.Leg)
                return false;

            return true;
        }