Opc.Ua.Server.RequestHandle.Equals C# (CSharp) Method

Equals() public method

Indicates whether this instance and a specified object are equal.
public Equals ( object obj ) : bool
obj object Another object to compare to.
return bool
        public override bool Equals(object obj)
        {         
            RequestHandle? handle = obj as RequestHandle?;

            if (handle != null)
            {
                return Object.ReferenceEquals(this.Handle, handle.Value.Handle);
            }

            return false;
        }