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