Class CbrnAngle180Type
A data type for an angle measure where the units are decimal degrees and the values range from +180.0 to -180.0.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class CbrnAngle180Type : IEquatable<CbrnAngle180Type>
Properties
Context
cbrnAngle180Type JSON-LD context
Declaration
[DataMember(Name = "@context")]
public CbrnAngle180Type.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<CbrnAngle180Type.ContextEnum> | cbrnAngle180Type JSON-LD context |
SimpleType
Gets or Sets SimpleType
Declaration
[DataMember(Name = "simpleType")]
public CbrnAngle180SimpleType SimpleType { get; set; }
Property Value
Type | Description |
---|---|
CbrnAngle180SimpleType |
Units
A unit of measure for a value element. If used, the unit of measure shall be as stated in the documentation for the element. NIEM reference is cbrn:unitsText
Declaration
[DataMember(Name = "units")]
public string Units { get; set; }
Property Value
Type | Description |
---|---|
System.String | A unit of measure for a value element. If used, the unit of measure shall be as stated in the documentation for the element. NIEM reference is cbrn:unitsText |
Methods
Equals(CbrnAngle180Type)
Returns true if CbrnAngle180Type instances are equal
Declaration
public bool Equals(CbrnAngle180Type other)
Parameters
Type | Name | Description |
---|---|---|
CbrnAngle180Type | other | Instance of CbrnAngle180Type 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(CbrnAngle180Type, CbrnAngle180Type)
Declaration
public static bool operator ==(CbrnAngle180Type left, CbrnAngle180Type right)
Parameters
Type | Name | Description |
---|---|---|
CbrnAngle180Type | left | |
CbrnAngle180Type | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(CbrnAngle180Type, CbrnAngle180Type)
Declaration
public static bool operator !=(CbrnAngle180Type left, CbrnAngle180Type right)
Parameters
Type | Name | Description |
---|---|---|
CbrnAngle180Type | left | |
CbrnAngle180Type | right |
Returns
Type | Description |
---|---|
System.Boolean |