public override bool Equals(object obj) { IWrapper wrapper = obj as IWrapper; if (wrapper != null) { return(this.instance == wrapper.Value); } Forms::HtmlDocument doc = obj as Forms::HtmlDocument; if (obj != null) { return(this.instance == doc.DomDocument); } Forms::HtmlWindow win = obj as Forms::HtmlWindow; if (win != null) { return(this.instance == win.DomWindow); } Forms::HtmlElement elem = obj as Forms::HtmlElement; if (elem != null) { return(this.instance == elem.DomElement); } Forms::HtmlHistory hist = obj as Forms::HtmlHistory; if (hist != null) { return(this.instance == hist.DomHistory); } return(this.instance == obj); }
//#>>delete public Document(Forms::HtmlDocument doc) : base(doc.DomDocument) { }