Class XmlTextWriterReferenceObjectComparer
Compares two objects if they are XmlTextWriters and checks if they are based on the same base writer
Inheritance
System.Object
XmlTextWriterReferenceObjectComparer
Implements
Namespace: ImageVault.Common.Lib.Xml.Serialization
Assembly: ImageVault.Common.dll
Syntax
public class XmlTextWriterReferenceObjectComparer : Object, IReferenceObjectComparer
Remarks
2010-09-28 dan: Created
Constructors
XmlTextWriterReferenceObjectComparer()
Declaration
public XmlTextWriterReferenceObjectComparer()
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. |