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
RequirementDiagramNodeRequirementDiagramRequirement
Constructors
| Name | Description |
|---|---|
| RequirementDiagramRequirement(string) | Initializes a new instance of the RequirementDiagramRequirement class. |
RequirementDiagramRequirement(string)
RequirementDiagramRequirement.csInitializes a new instance of the RequirementDiagramRequirement class.
public RequirementDiagramRequirement(string name)Parameters
namestring- The name, unique in the diagram.
Properties
| Name | Description |
|---|---|
| Kind | Gets or sets the kind of the requirement, shown above its name. |
| RequirementId | Gets or sets the identifier of the requirement in its specification, such as 1.2.1, or null for none. |
| Risk | Gets or sets the risk, or null for none. |
| Text | Gets or sets the text of the requirement, or null for none. |
| VerificationMethod | Gets 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
RequirementId
RequirementDiagramRequirement.csGets or sets the text of the requirement, or null for none.
public DiagramText? Text { get; set; }Property value
VerificationMethod
RequirementDiagramRequirement.csGets or sets how the requirement is verified, or null for none.
public RequirementVerificationMethod? VerificationMethod { get; set; }