ValueObjectBase
Base class for an immutable Vendr value object
public abstract class ValueObjectBase : IDeepCloneable
Inheritance
- interface IDeepCloneable
Namespace
Methods
DeepClone
Deep clones the entity and all of it's child entities
public abstract object DeepClone()
Returns
A deep clones entity instance
Equals
Compares the entity against another entity for equality
public override bool Equals(object obj)
Parameters
Parameter | Description |
---|---|
obj |
The entity to compare against |
Returns
Returns true
if the two entities are equal, otherwise returns false
.
GetHashCode
public override int GetHashCode()
Operators
ValueObjectBase Equality
public static bool operator ==(ValueObjectBase a, ValueObjectBase b)
ValueObjectBase Inequality
public static bool operator !=(ValueObjectBase a, ValueObjectBase b)