Class JBinaryHashValueType
A data type for a binary hash value.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class JBinaryHashValueType : IEquatable<JBinaryHashValueType>
Properties
Context
jBinaryHashValueType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public JBinaryHashValueType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<JBinaryHashValueType.ContextEnum> | jBinaryHashValueType JSON-LD context |
HashValue
A hash value represented as text. NIEM reference is j:HashValueText
Declaration
[DataMember(Name = "hashValue")]
public List<NcTextType> HashValue { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A hash value represented as text. NIEM reference is j:HashValueText |
HashValueBase64BinaryObject
A hash value represented as a binary base64 value object. NIEM reference is j:HashValueBase64BinaryObject
Declaration
[DataMember(Name = "hashValueBase64BinaryObject")]
public List<NiemXsbase64Binary> HashValueBase64BinaryObject { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsbase64Binary> | A hash value represented as a binary base64 value object. NIEM reference is j:HashValueBase64BinaryObject |
HashValueMethodAlgorithm
A method used to calculate the hash value. NIEM reference is j:HashValueMethodAlgorithmText
Declaration
[DataMember(Name = "hashValueMethodAlgorithm")]
public List<NcTextType> HashValueMethodAlgorithm { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A method used to calculate the hash value. NIEM reference is j:HashValueMethodAlgorithmText |
Methods
Equals(JBinaryHashValueType)
Returns true if JBinaryHashValueType instances are equal
Declaration
public bool Equals(JBinaryHashValueType other)
Parameters
Type | Name | Description |
---|---|---|
JBinaryHashValueType | other | Instance of JBinaryHashValueType 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(JBinaryHashValueType, JBinaryHashValueType)
Declaration
public static bool operator ==(JBinaryHashValueType left, JBinaryHashValueType right)
Parameters
Type | Name | Description |
---|---|---|
JBinaryHashValueType | left | |
JBinaryHashValueType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(JBinaryHashValueType, JBinaryHashValueType)
Declaration
public static bool operator !=(JBinaryHashValueType left, JBinaryHashValueType right)
Parameters
Type | Name | Description |
---|---|---|
JBinaryHashValueType | left | |
JBinaryHashValueType | right |
Returns
Type | Description |
---|---|
System.Boolean |