Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

ValueObjectBase

API reference for ValueObjectBase in Vendr, the eCommerce solution for Umbraco v8+

ValueObjectBase

Base class for an immutable Vendr value object

public abstract class ValueObjectBase : IDeepCloneable

Inheritance

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)

Edit this page on GitHub

Site + logo design © 2025 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.