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 UseCaseBoundary

Constructors

NameDescription
UseCaseBoundary(string, DiagramText?)Initializes a new instance of the UseCaseBoundary class.

UseCaseBoundary(string, DiagramText?)

UseCaseBoundary.cs

Initializes a new instance of the UseCaseBoundary class.

public UseCaseBoundary(string id, DiagramText? title = null)

Parameters

id string
The identifier, unique in the diagram.
title DiagramText?
The title, or null to show the identifier.

Properties

NameDescription
CssClassesGets the CSS classes of the boundary: the names of styles of UseCaseDiagram.ClassDefinitions.
ElementsGets the actors and the use cases in the boundary. An element belongs to one boundary at most.
IdGets the identifier of the boundary, unique in the diagram.
KindGets or sets the shape of the frame.
StyleGets or sets the style of the boundary, which takes precedence over the style of its classes.
TitleGets or sets the title, or null to show the identifier.

Gets the CSS classes of the boundary: the names of styles of UseCaseDiagram.ClassDefinitions.

public IList<string> CssClasses { get; }

Property value

IList<string>

Gets the actors and the use cases in the boundary. An element belongs to one boundary at most.

public IList<UseCaseDiagramElement> Elements { get; }

Gets the identifier of the boundary, unique in the diagram.

public string Id { get; }

Property value

string

Gets or sets the shape of the frame.

public UseCaseBoundaryKind Kind { get; set; }

Property value

UseCaseBoundaryKind

Gets or sets the style of the boundary, which takes precedence over the style of its classes.

public DiagramStyle? Style { get; set; }

Property value

DiagramStyle?

Gets or sets the title, or null to show the identifier.

public DiagramText? Title { get; set; }

Property value

DiagramText?

Methods

NameDescription
ToString()Returns the identifier of the boundary.

Returns the identifier of the boundary.

public override string ToString()

Returns

string The identifier.