UseCase Class
A use case of a use case diagram: something the system does for its actors, drawn as an ellipse or a rectangle.
public sealed class UseCase : UseCaseDiagramElement- Inheritance
UseCaseDiagramElementUseCase
Constructors
| Name | Description |
|---|---|
| UseCase(string, DiagramText?) | Initializes a new instance of the UseCase class. |
UseCase(string, DiagramText?)
UseCase.csInitializes a new instance of the UseCase class.
public UseCase(string id, DiagramText? label = null)Parameters
idstring- The identifier, which is shown when there is no label.
labelDiagramText?- The text shown, or
nullto show the identifier.
Properties
| Name | Description |
|---|---|
| IsBusiness | Gets or sets a value that indicates whether the use case is a business use case, drawn with a slash. A rectangle cannot be one. |
| Shape | Gets or sets the shape. |
| Stereotype | Gets or sets the stereotype, shown between guillemets above the text, or null for none. |