Bloom.ElementProxy.Equals C# (CSharp) Method

Equals() protected method

protected Equals ( UrlPathString other ) : bool
other UrlPathString
return bool
        protected bool Equals(UrlPathString other)
        {
            throw new NotImplementedException();
        }

Same methods

ElementProxy::Equals ( object obj ) : bool

Usage Example

 public void EqualsProxyForSameThing_ReturnsTrue()
 {
     var dom = new XmlDocument();
     dom.LoadXml("<div id='foo'/>");
     var elementProxy = new ElementProxy(dom.DocumentElement);
     var proxy2 = new ElementProxy(dom.DocumentElement);
     Assert.That(elementProxy == proxy2, Is.True);
     Assert.That(elementProxy.Equals(proxy2), Is.True);
 }