Class NcAddressGridType
A data type for a location identified by a unit of a grid system overlaid on an area.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcAddressGridType : IEquatable<NcAddressGridType>
Properties
AddressGridId
An identifier that references a unique address grid system. NIEM reference is nc:AddressGridID
Declaration
[DataMember(Name = "addressGridId")]
public List<NiemXsstring> AddressGridId { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | An identifier that references a unique address grid system. NIEM reference is nc:AddressGridID |
Context
ncAddressGridType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcAddressGridType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcAddressGridType.ContextEnum> | ncAddressGridType JSON-LD context |
Text
A unit, quadrant, or other subdivision of an address grid. NIEM reference is nc:AddressGridText
Declaration
[DataMember(Name = "text")]
public List<NcTextType> Text { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A unit, quadrant, or other subdivision of an address grid. NIEM reference is nc:AddressGridText |
Methods
Equals(NcAddressGridType)
Returns true if NcAddressGridType instances are equal
Declaration
public bool Equals(NcAddressGridType other)
Parameters
Type | Name | Description |
---|---|---|
NcAddressGridType | other | Instance of NcAddressGridType 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(NcAddressGridType, NcAddressGridType)
Declaration
public static bool operator ==(NcAddressGridType left, NcAddressGridType right)
Parameters
Type | Name | Description |
---|---|---|
NcAddressGridType | left | |
NcAddressGridType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcAddressGridType, NcAddressGridType)
Declaration
public static bool operator !=(NcAddressGridType left, NcAddressGridType right)
Parameters
Type | Name | Description |
---|---|---|
NcAddressGridType | left | |
NcAddressGridType | right |
Returns
Type | Description |
---|---|
System.Boolean |