UseCaseBoundary Class
A system boundary of a use case diagram: a frame with a title around the actors and the use cases of a system.
public sealed class UseCaseBoundaryConstructors
| Name | Description |
|---|---|
| UseCaseBoundary(string, DiagramText?) | Initializes a new instance of the UseCaseBoundary class. |
UseCaseBoundary(string, DiagramText?)
UseCaseBoundary.csInitializes a new instance of the UseCaseBoundary class.
public UseCaseBoundary(string id, DiagramText? title = null)Parameters
idstring- The identifier, unique in the diagram.
titleDiagramText?- The title, or
nullto show the identifier.
Properties
| Name | Description |
|---|---|
| CssClasses | Gets the CSS classes of the boundary: the names of styles of UseCaseDiagram.ClassDefinitions. |
| Elements | Gets the actors and the use cases in the boundary. An element belongs to one boundary at most. |
| Id | Gets the identifier of the boundary, unique in the diagram. |
| Kind | Gets or sets the shape of the frame. |
| Style | Gets or sets the style of the boundary, which takes precedence over the style of its classes. |
| Title | Gets or sets the title, or null to show the identifier. |
CssClasses
UseCaseBoundary.csGets the CSS classes of the boundary: the names of styles of UseCaseDiagram.ClassDefinitions.
Property value
Elements
UseCaseBoundary.csGets the actors and the use cases in the boundary. An element belongs to one boundary at most.
public IList<UseCaseDiagramElement> Elements { get; }Property value
Style
UseCaseBoundary.csGets or sets the style of the boundary, which takes precedence over the style of its classes.
public DiagramStyle? Style { get; set; }Property value
Title
UseCaseBoundary.csGets or sets the title, or null to show the identifier.
public DiagramText? Title { get; set; }Property value
Methods
| Name | Description |
|---|---|
| ToString() | Returns the identifier of the boundary. |