Class Annotation
Assembly: CycloneDX.Core.dll
Syntax
[ProtoContract]
public class Annotation : IEquatable<Annotation>
Properties
|
Edit this page
View Source
Annotator
Declaration
[ProtoMember(3)]
public AnnotatorChoice Annotator { get; set; }
Property Value
|
Edit this page
View Source
BomRef
Declaration
[JsonPropertyName("bom-ref")]
[ProtoMember(1)]
public string BomRef { get; set; }
Property Value
|
Edit this page
View Source
Subjects
Declaration
[JsonPropertyName("subjects")]
[ProtoMember(2)]
public List<string> Subjects { get; set; }
Property Value
|
Edit this page
View Source
Text
Declaration
[ProtoMember(5)]
public string Text { get; set; }
Property Value
|
Edit this page
View Source
Timestamp
Declaration
[ProtoMember(4)]
public DateTime? Timestamp { get; set; }
Property Value
|
Edit this page
View Source
XmlSubjects
Declaration
[JsonIgnore]
public List<Annotation.XmlAnnotationSubject> XmlSubjects { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(Annotation)
Declaration
public bool Equals(Annotation obj)
Parameters
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
ShouldSerializeTimestamp()
Declaration
public bool ShouldSerializeTimestamp()
Returns
Implements