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