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
RequirementDiagramNodeRequirementDiagramElement
Constructors
| Name | Description |
|---|---|
| RequirementDiagramElement(string) | Initializes a new instance of the RequirementDiagramElement class. |
RequirementDiagramElement(string)
RequirementDiagramElement.csInitializes a new instance of the RequirementDiagramElement class.
public RequirementDiagramElement(string name)Parameters
namestring- The name, unique in the diagram.
Properties
| Name | Description |
|---|---|
| DocumentReference | Gets or sets the reference of the document, such as a path, or null for none. |
| Type | Gets or sets the type of the element, such as test suite, or null for none. |
DocumentReference
RequirementDiagramElement.csGets or sets the reference of the document, such as a path, or null for none.
public DiagramText? DocumentReference { get; set; }Property value
Gets or sets the type of the element, such as test suite, or null for none.
public DiagramText? Type { get; set; }