Class NcCommentType
A data type for a comment, note, or remark providing additional information.
Inheritance
Implements
Inherited Members
Namespace: NiemTypes
Assembly: EidoLib.dll
Syntax
[DataContract]
public class NcCommentType : IEquatable<NcCommentType>
Properties
Author
A name or role of the author of a comment. NIEM reference is nc:CommentAuthorText
Declaration
[DataMember(Name = "author")]
public List<NcTextType> Author { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name or role of the author of a comment. NIEM reference is nc:CommentAuthorText |
Context
ncCommentType JSON-LD context
Declaration
[DataMember(Name = "@context")]
public NcCommentType.ContextEnum? Context { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NcCommentType.ContextEnum> | ncCommentType JSON-LD context |
CreationDate
A date a comment was created. NIEM reference is nc:CommentCreationDate
Declaration
[DataMember(Name = "creationDate")]
public List<NcDateType> CreationDate { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcDateType> | A date a comment was created. NIEM reference is nc:CommentCreationDate |
Destination
An intended recipient of the comment. NIEM reference is mo:CommentDestinationText
Declaration
[DataMember(Name = "destination")]
public List<NiemXsstring> Destination { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | An intended recipient of the comment. NIEM reference is mo:CommentDestinationText |
Keyword
A comma-separated list of keywords about the comment. NIEM reference is mo:CommentKeywordText
Declaration
[DataMember(Name = "keyword")]
public List<NiemXsstring> Keyword { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NiemXsstring> | A comma-separated list of keywords about the comment. NIEM reference is mo:CommentKeywordText |
Text
A comment, note, or remark providing additional information. NIEM reference is nc:CommentText
Declaration
[DataMember(Name = "text")]
public List<NcTextType> Text { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A comment, note, or remark providing additional information. NIEM reference is nc:CommentText |
Title
A name of a comment. NIEM reference is nc:CommentTitleText
Declaration
[DataMember(Name = "title")]
public List<NcTextType> Title { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<NcTextType> | A name of a comment. NIEM reference is nc:CommentTitleText |
Methods
Equals(NcCommentType)
Returns true if NcCommentType instances are equal
Declaration
public bool Equals(NcCommentType other)
Parameters
Type | Name | Description |
---|---|---|
NcCommentType | other | Instance of NcCommentType 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(NcCommentType, NcCommentType)
Declaration
public static bool operator ==(NcCommentType left, NcCommentType right)
Parameters
Type | Name | Description |
---|---|---|
NcCommentType | left | |
NcCommentType | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(NcCommentType, NcCommentType)
Declaration
public static bool operator !=(NcCommentType left, NcCommentType right)
Parameters
Type | Name | Description |
---|---|---|
NcCommentType | left | |
NcCommentType | right |
Returns
Type | Description |
---|---|
System.Boolean |