Class PropertyValue<T>
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The value of a custom Property for a given entity that supports custom properties.
public class PropertyValue<T> : EntityWithVersion, IEntity, IComparable, IIdentifiable, IVersion where T : IEntity, ICustomizable<T>
Type Parameters
T
T implements IEntity and ICustomizable
- Inheritance
-
PropertyValue<T>
- Implements
- Inherited Members
Constructors
PropertyValue()
Initializes a new instance of the PropertyValue<T> class.
public PropertyValue()
PropertyValue(Id?, long?, T?, Property?, string?)
Initializes a new instance of the PropertyValue<T> class.
public PropertyValue(Id? id, long? version, T? entity, Property? property, string? value)
Parameters
id
IdThe identifier.
version
long?The version.
entity
TThe entity.
property
PropertyThe property.
value
stringThe value.
PropertyValue(PropertyValue<T>)
Initializes a new instance of the PropertyValue<T> class.
public PropertyValue(PropertyValue<T> propertyValue)
Parameters
propertyValue
PropertyValue<T>The property value.
Properties
Entity
Gets or sets customizable entity.
public T? Entity { get; set; }
Property Value
- T
The entity.
Property
Gets or sets the property.
public Property? Property { get; set; }
Property Value
- Property
The property.
Value
Gets or sets the value.
public string? Value { get; set; }
Property Value
- string
The value.
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.