UseCaseActor Class
An actor of a use case diagram: a person or a system that takes part in use cases, drawn as a figure with its name below.
public sealed class UseCaseActor : UseCaseDiagramElement- Inheritance
UseCaseDiagramElementUseCaseActor
Constructors
| Name | Description |
|---|---|
| UseCaseActor(string, DiagramText?) | Initializes a new instance of the UseCaseActor class. |
UseCaseActor(string, DiagramText?)
UseCaseActor.csInitializes a new instance of the UseCaseActor class.
public UseCaseActor(string id, DiagramText? label = null)Parameters
idstring- The identifier, which is shown when there is no label.
labelDiagramText?- The name shown, or
nullto show the identifier.
Properties
| Name | Description |
|---|---|
| IsBusiness | Gets or sets a value that indicates whether the actor is a business actor, drawn with a slash across its head. An UseCaseActorKind.Awesome actor cannot be one. |
| Kind | Gets or sets how the figure is drawn. |
| Stereotype | Gets or sets the stereotype, shown between guillemets above the name, or null for none. |
IsBusiness
UseCaseActor.csGets or sets a value that indicates whether the actor is a business actor, drawn with a slash across its head. An UseCaseActorKind.Awesome actor cannot be one.
public bool IsBusiness { get; set; }