PurplePen.SymbolText.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
        public override bool Equals(object obj)
        {
            if (!(obj is SymbolText))
                return false;
            SymbolText other = obj as SymbolText;
            if (other.Text != Text)
                return false;
            if (other.Lang != Lang)
                return false;
            if (other.Plural != Plural)
                return false;
            if (other.Gender != Gender)
                return false;
            if (other.Case != Case)
                return false;
            if (other.CaseOfModified != CaseOfModified)
                return false;

            return true;
        }