Class XmlReaderReferenceObjectComparer
Compares two objects if they are XmlReaders and checks if they are based on the same base reader
Inheritance
System.Object
XmlReaderReferenceObjectComparer
Implements
Namespace: ImageVault.Common.Lib.Xml.Serialization
Assembly: ImageVault.Common.dll
Syntax
public class XmlReaderReferenceObjectComparer : Object, IReferenceObjectComparer
Remarks
2010-09-28 dan: Created
Constructors
XmlReaderReferenceObjectComparer()
Declaration
public XmlReaderReferenceObjectComparer()
Methods
AreSameReferenceObject(Object, Object)
Compares two objects and compares if they are based on the same reference object.
Declaration
public bool AreSameReferenceObject(object a, object b)
Parameters
Type | Name | Description |
---|---|---|
System.Object | a | The first object to compare |
System.Object | b | The second object to compare |
Returns
Type | Description |
---|---|
System.Boolean | True if they originates from the same instance, false otherwize. |