LifelineExtensions Class
Extension methods for ILifeline.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.LifelineExtensions
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public NotInheritable Class LifelineExtensions
public static class LifelineExtensions
[ExtensionAttribute]
public ref class LifelineExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type LifelineExtensions = class end
public final class LifelineExtensions
The LifelineExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
FindInsertionPoint(ILifeline, IExecutionSpecification) | Returns an insertion point at the beginning (top) of an Execution Specification. Use this to add the first message to or from the Execution Specification. | |
FindInsertionPoint(ILifeline, IInteractionOperand) | Returns an insertion point at the beginning (top) of an Interaction Operand. Use this to add the first message inside the Interaction Operand. | |
FindInsertionPointAfterCombinedFragment | Returns an insertion point immediately after the given Combined Fragment | |
FindInsertionPointAfterExecutionSpecification | Returns an insertion point on this lifeline immediately after the given Execution Specification. | |
FindInsertionPointAfterInteractionUse | Returns an insertion point immediately after the given Interaction Use. | |
FindInsertionPointAfterMessage | Returns an insertion point on this lifeline immediately after the given message. | |
FindInsertionPointAtBottom | The insertion point at the bottom of the lifeline | |
FindInsertionPointAtTop | The insertion point at the top of the lifeline. | |
GetAllIncomingMessages | All messages incoming to the lifeline or any Execution Specification on the lifeline | |
GetAllOutgoingMessages | All messages outgoing from the lifeline or from any ExecutionSpecification on the lifeline | |
GetCombinedFragments | The collection of Combined Fragments that contain messages starting or ending on this lifeline, or that contain Interaction Uses or nested fragments that cover this Lifeline. | |
GetDisplayName | Get the lifeline name or name and type, as displayed on the diagram. | |
GetExecutionSpecifications | The top level Execution Specification blocks on the lifeline | |
GetInstanceType | Get the type name. | |
GetOutgoingMessages | The top level outgoing messages outgoing from the Lifeline, not from any Execution Specification. | |
SetInstanceType | Set the type name. |
Top
Remarks
For more information about UML diagrams, see Developing Models for Software Design.
For more information about using the UML API, see Extending UML Models and Diagrams.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace