Acrolinx.Sdk.Sidebar.Documents.Range.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
        public override bool Equals(object obj)
        {
            Acrolinx.Sdk.Sidebar.Documents.IRange other = obj as Acrolinx.Sdk.Sidebar.Documents.IRange;

            if(other == null)
            {
                return false;
            }

            return other.Start == this.Start && other.End == this.End;
        }