Class NcLengthMeasureType
A data type for a measure of a distance or extent.
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcLengthMeasureType : NcMeasureType, IEquatable<NcMeasureType>, IEquatable<NcLengthMeasureType>
Properties
Context
ncLengthMeasureType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcLengthMeasureType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcLengthMeasureType.ContextEnum> | ncLengthMeasureType JSON-LD context |
LengthUnitCode
A unit of measure of a length value. NIEM reference is nc:LengthUnitCode
Declaration
[DataMember(Name = "lengthUnitCode")]
public List<UneceLengthCodeType> LengthUnitCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UneceLengthCodeType> | A unit of measure of a length value. NIEM reference is nc:LengthUnitCode |
VehicleOdometerReadingUnitCode
A unit which qualifies a reading measured by an odometer. NIEM reference is j:VehicleOdometerReadingUnitCode
Declaration
[DataMember(Name = "vehicleOdometerReadingUnitCode")]
public List<AamvaD20VehicleOdometerReadingUnitCodeType> VehicleOdometerReadingUnitCode { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AamvaD20VehicleOdometerReadingUnitCodeType> | A unit which qualifies a reading measured by an odometer. NIEM reference is j:VehicleOdometerReadingUnitCode |
Methods
Equals(NcLengthMeasureType)
Returns true if NcLengthMeasureType instances are equal
Declaration
public bool Equals(NcLengthMeasureType other)
Parameters
Type | Name | Description |
---|---|---|
NcLengthMeasureType | other | Instance of NcLengthMeasureType to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Operators
Equality(NcLengthMeasureType, NcLengthMeasureType)
Declaration
public static bool operator ==(NcLengthMeasureType left, NcLengthMeasureType right)
Parameters
Type | Name | Description |
---|---|---|
NcLengthMeasureType | left | |
NcLengthMeasureType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcLengthMeasureType, NcLengthMeasureType)
Declaration
public static bool operator !=(NcLengthMeasureType left, NcLengthMeasureType right)
Parameters
Type | Name | Description |
---|---|---|
NcLengthMeasureType | left | |
NcLengthMeasureType | right |
Returns
Type | Description |
---|---|
System.Boolean |