RequirementDiagramElement Class

An element of a requirement diagram: a part of another document, such as a test suite, that requirements relate to.

public sealed class RequirementDiagramElement : RequirementDiagramNode
Inheritance
RequirementDiagramNode RequirementDiagramElement

Constructors

NameDescription
RequirementDiagramElement(string)Initializes a new instance of the RequirementDiagramElement class.

RequirementDiagramElement(string)

RequirementDiagramElement.cs

Initializes a new instance of the RequirementDiagramElement class.

public RequirementDiagramElement(string name)

Parameters

name string
The name, unique in the diagram.

Properties

NameDescription
DocumentReferenceGets or sets the reference of the document, such as a path, or null for none.
TypeGets or sets the type of the element, such as test suite, or null for none.

Gets or sets the reference of the document, such as a path, or null for none.

public DiagramText? DocumentReference { get; set; }

Property value

DiagramText?

Gets or sets the type of the element, such as test suite, or null for none.

public DiagramText? Type { get; set; }

Property value

DiagramText?