Show / Hide Table of Contents

Class Composition

Inheritance
object
Composition
Implements
IXmlSerializable
IEquatable<Composition>
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: CycloneDX.Models
Assembly: CycloneDX.Core.dll
Syntax
[ProtoContract]
public class Composition : IXmlSerializable, IEquatable<Composition>

Properties

| Edit this page View Source

Aggregate

Declaration
[ProtoMember(1, IsRequired = true)]
public Composition.AggregateType Aggregate { get; set; }
Property Value
Type Description
Composition.AggregateType
| Edit this page View Source

Assemblies

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

BomRef

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

Dependencies

Declaration
[ProtoMember(3)]
public List<string> Dependencies { get; set; }
Property Value
Type Description
List<string>
| Edit this page View Source

Signature

Declaration
public SignatureChoice Signature { get; set; }
Property Value
Type Description
SignatureChoice
| Edit this page View Source

Vulnerabilities

Declaration
[ProtoMember(4)]
public List<string> Vulnerabilities { get; set; }
Property Value
Type Description
List<string>
| Edit this page View Source

XmlSignature

Declaration
[JsonIgnore]
public XmlElement XmlSignature { get; set; }
Property Value
Type Description
XmlElement

Methods

| Edit this page View Source

Equals(Composition)

Declaration
public bool Equals(Composition obj)
Parameters
Type Name Description
Composition obj
Returns
Type Description
bool
| Edit this page View Source

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
| Edit this page View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
| Edit this page View Source

GetSchema()

Declaration
public XmlSchema GetSchema()
Returns
Type Description
XmlSchema
| Edit this page View Source

ReadXml(XmlReader)

Declaration
public void ReadXml(XmlReader reader)
Parameters
Type Name Description
XmlReader reader
| Edit this page View Source

WriteXml(XmlWriter)

Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type Name Description
XmlWriter writer

Implements

IXmlSerializable
IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX