Class NcIntegerRangeType
A data type for a range of integer values.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcIntegerRangeType : IEquatable<NcIntegerRangeType>
Properties
Context
ncIntegerRangeType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcIntegerRangeType.ContextEnum? Context { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<NcIntegerRangeType.ContextEnum> | ncIntegerRangeType JSON-LD context |
RangeMaximumIntegerValue
A maximum value of a range. NIEM reference is nc:RangeMaximumIntegerValue
Declaration
[DataMember(Name = "rangeMaximumIntegerValue")]
public List<NiemXsinteger> RangeMaximumIntegerValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<NiemXsinteger> | A maximum value of a range. NIEM reference is nc:RangeMaximumIntegerValue |
RangeMinimumIntegerValue
A minimum value of a range. NIEM reference is nc:RangeMinimumIntegerValue
Declaration
[DataMember(Name = "rangeMinimumIntegerValue")]
public List<NiemXsinteger> RangeMinimumIntegerValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<NiemXsinteger> | A minimum value of a range. NIEM reference is nc:RangeMinimumIntegerValue |
Methods
Equals(NcIntegerRangeType)
Returns true if NcIntegerRangeType instances are equal
Declaration
public bool Equals(NcIntegerRangeType other)
Parameters
| Type | Name | Description |
|---|---|---|
| NcIntegerRangeType | other | Instance of NcIntegerRangeType 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(NcIntegerRangeType, NcIntegerRangeType)
Declaration
public static bool operator ==(NcIntegerRangeType left, NcIntegerRangeType right)
Parameters
| Type | Name | Description |
|---|---|---|
| NcIntegerRangeType | left | |
| NcIntegerRangeType | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Inequality(NcIntegerRangeType, NcIntegerRangeType)
Declaration
public static bool operator !=(NcIntegerRangeType left, NcIntegerRangeType right)
Parameters
| Type | Name | Description |
|---|---|---|
| NcIntegerRangeType | left | |
| NcIntegerRangeType | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |