Class NcHighwayType
A data type for a major public road.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcHighwayType : IEquatable<NcHighwayType>
Properties
Context
ncHighwayType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcHighwayType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcHighwayType.ContextEnum> | ncHighwayType JSON-LD context |
Full
A complete reference to a highway. NIEM reference is nc:HighwayFullText
Declaration
[DataMember(Name = "full")]
public List<NcTextType> Full { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A complete reference to a highway. NIEM reference is nc:HighwayFullText |
HighwayId
An identifier of a highway. NIEM reference is nc:HighwayID
Declaration
[DataMember(Name = "highwayId")]
public List<NiemXsstring> HighwayId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | An identifier of a highway. NIEM reference is nc:HighwayID |
Name
A name of a highway. NIEM reference is nc:HighwayName
Declaration
[DataMember(Name = "name")]
public List<NcTextType> Name { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of a highway. NIEM reference is nc:HighwayName |
Position
A designation of a specific place on a highway. NIEM reference is nc:HighwayPositionText
Declaration
[DataMember(Name = "position")]
public List<NcTextType> Position { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A designation of a specific place on a highway. NIEM reference is nc:HighwayPositionText |
Methods
Equals(NcHighwayType)
Returns true if NcHighwayType instances are equal
Declaration
public bool Equals(NcHighwayType other)
Parameters
Type | Name | Description |
---|---|---|
NcHighwayType | other | Instance of NcHighwayType 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(NcHighwayType, NcHighwayType)
Declaration
public static bool operator ==(NcHighwayType left, NcHighwayType right)
Parameters
Type | Name | Description |
---|---|---|
NcHighwayType | left | |
NcHighwayType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcHighwayType, NcHighwayType)
Declaration
public static bool operator !=(NcHighwayType left, NcHighwayType right)
Parameters
Type | Name | Description |
---|---|---|
NcHighwayType | left | |
NcHighwayType | right |
Returns
Type | Description |
---|---|
System.Boolean |