Show / Hide Table of Contents

Class Annotation

Inheritance
object
Annotation
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: CycloneDX.Models
Assembly: CycloneDX.Core.dll
Syntax
[ProtoContract]
public class Annotation

Properties

| Edit this page View Source

Annotator

Declaration
[ProtoMember(3)]
public AnnotatorChoice Annotator { get; set; }
Property Value
Type Description
AnnotatorChoice
| Edit this page View Source

BomRef

Declaration
[JsonPropertyName("bom-ref")]
[ProtoMember(1)]
public string BomRef { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Subjects

Declaration
[JsonPropertyName("subjects")]
[ProtoMember(2)]
public List<string> Subjects { get; set; }
Property Value
Type Description
List<string>
| Edit this page View Source

Text

Declaration
[ProtoMember(5)]
public string Text { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Timestamp

Declaration
[ProtoMember(4)]
public DateTime? Timestamp { get; set; }
Property Value
Type Description
Nullable
| Edit this page View Source

XmlSubjects

Declaration
[JsonIgnore]
public List<Annotation.XmlAnnotationSubject> XmlSubjects { get; set; }
Property Value
Type Description
List<Annotation.XmlAnnotationSubject>

Methods

| Edit this page View Source

ShouldSerializeTimestamp()

Declaration
public bool ShouldSerializeTimestamp()
Returns
Type Description
bool
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX