RequirementDiagramRequirement Class

A requirement of a requirement diagram: a box with its kind, its name, its identifier, its text, its risk and how it is verified.

public sealed class RequirementDiagramRequirement : RequirementDiagramNode
Inheritance
RequirementDiagramNode RequirementDiagramRequirement

Constructors

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

RequirementDiagramRequirement(string)

RequirementDiagramRequirement.cs

Initializes a new instance of the RequirementDiagramRequirement class.

public RequirementDiagramRequirement(string name)

Parameters

name string
The name, unique in the diagram.

Properties

NameDescription
KindGets or sets the kind of the requirement, shown above its name.
RequirementIdGets or sets the identifier of the requirement in its specification, such as 1.2.1, or null for none.
RiskGets or sets the risk, or null for none.
TextGets or sets the text of the requirement, or null for none.
VerificationMethodGets or sets how the requirement is verified, or null for none.

Gets or sets the kind of the requirement, shown above its name.

public RequirementKind Kind { get; set; }

Property value

RequirementKind

Gets or sets the identifier of the requirement in its specification, such as 1.2.1, or null for none.

public string? RequirementId { get; set; }

Property value

string?

Gets or sets the risk, or null for none.

public RequirementRisk? Risk { get; set; }

Property value

RequirementRisk?

Gets or sets the text of the requirement, or null for none.

public DiagramText? Text { get; set; }

Property value

DiagramText?

Gets or sets how the requirement is verified, or null for none.

public RequirementVerificationMethod? VerificationMethod { get; set; }