StoryTeller.Model.SetVerification.Equals C# (CSharp) Method

Equals() public method

public Equals ( SetVerification obj ) : bool
obj SetVerification
return bool
        public bool Equals(SetVerification obj)
        {
            if (ReferenceEquals(null, obj)) return false;
            if (ReferenceEquals(this, obj)) return true;

            if (!Equals(obj.Label, Label)) return false;
            if (!Equals(obj.LeafName, LeafName)) return false;

            if (Cells.Count != obj.Cells.Count) return false;

            for (int i = 0; i < Cells.Count; i++)
            {
                if (!Cells[i].Equals(obj.Cells[i])) return false;
            }

            return true;
        }

Same methods

SetVerification::Equals ( object obj ) : bool