Class NcCrossStreetType
A data type for a location identified by two or more streets which intersect.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcCrossStreetType : IEquatable<NcCrossStreetType>
Properties
Context
ncCrossStreetType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcCrossStreetType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcCrossStreetType.ContextEnum> | ncCrossStreetType JSON-LD context |
Description
A description of a street intersection. NIEM reference is nc:CrossStreetDescriptionText
Declaration
[DataMember(Name = "description")]
public List<NcTextType> Description { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A description of a street intersection. NIEM reference is nc:CrossStreetDescriptionText |
LocationStreet
A road, thoroughfare or highway. NIEM reference is nc:LocationStreet
Declaration
[DataMember(Name = "locationStreet")]
public List<NcStreetType> LocationStreet { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcStreetType> | A road, thoroughfare or highway. NIEM reference is nc:LocationStreet |
RelativeLocation
A location of something relative to a street intersection. NIEM reference is nc:CrossStreetRelativeLocation
Declaration
[DataMember(Name = "relativeLocation")]
public List<NcRelativeLocationType> RelativeLocation { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcRelativeLocationType> | A location of something relative to a street intersection. NIEM reference is nc:CrossStreetRelativeLocation |
Methods
Equals(NcCrossStreetType)
Returns true if NcCrossStreetType instances are equal
Declaration
public bool Equals(NcCrossStreetType other)
Parameters
Type | Name | Description |
---|---|---|
NcCrossStreetType | other | Instance of NcCrossStreetType 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(NcCrossStreetType, NcCrossStreetType)
Declaration
public static bool operator ==(NcCrossStreetType left, NcCrossStreetType right)
Parameters
Type | Name | Description |
---|---|---|
NcCrossStreetType | left | |
NcCrossStreetType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcCrossStreetType, NcCrossStreetType)
Declaration
public static bool operator !=(NcCrossStreetType left, NcCrossStreetType right)
Parameters
Type | Name | Description |
---|---|---|
NcCrossStreetType | left | |
NcCrossStreetType | right |
Returns
Type | Description |
---|---|
System.Boolean |