Share via


LifelineExtensions Class

 

Extension methods for ILifeline.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.LifelineExtensions

Syntax

public static class LifelineExtensions
[ExtensionAttribute]
public ref class LifelineExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type LifelineExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class LifelineExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static 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.

System_CAPS_pubmethodSystem_CAPS_static FindInsertionPointAfterCombinedFragment(ILifeline, ICombinedFragment)

Returns an insertion point immediately after the given Combined Fragment

System_CAPS_pubmethodSystem_CAPS_static FindInsertionPointAfterExecutionSpecification(ILifeline, IExecutionSpecification)

Returns an insertion point on this lifeline immediately after the given Execution Specification.

System_CAPS_pubmethodSystem_CAPS_static FindInsertionPointAfterInteractionUse(ILifeline, IInteractionUse)

Returns an insertion point immediately after the given Interaction Use.

System_CAPS_pubmethodSystem_CAPS_static FindInsertionPointAfterMessage(ILifeline, IMessage)

Returns an insertion point on this lifeline immediately after the given message.

System_CAPS_pubmethodSystem_CAPS_static FindInsertionPointAtBottom(ILifeline)

The insertion point at the bottom of the lifeline

System_CAPS_pubmethodSystem_CAPS_static FindInsertionPointAtTop(ILifeline)

The insertion point at the top of the lifeline.

System_CAPS_pubmethodSystem_CAPS_static GetAllIncomingMessages(ILifeline)

All messages incoming to the lifeline or any Execution Specification on the lifeline

System_CAPS_pubmethodSystem_CAPS_static GetAllOutgoingMessages(ILifeline)

All messages outgoing from the lifeline or from any ExecutionSpecification on the lifeline

System_CAPS_pubmethodSystem_CAPS_static GetCombinedFragments(ILifeline)

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.

System_CAPS_pubmethodSystem_CAPS_static GetDisplayName(ILifeline)

Get the lifeline name or name and type, as displayed on the diagram.

System_CAPS_pubmethodSystem_CAPS_static GetExecutionSpecifications(ILifeline)

The top level Execution Specification blocks on the lifeline

System_CAPS_pubmethodSystem_CAPS_static GetInstanceType(ILifeline)

Get the type name.

System_CAPS_pubmethodSystem_CAPS_static GetOutgoingMessages(ILifeline)

The top level outgoing messages outgoing from the Lifeline, not from any Execution Specification.

System_CAPS_pubmethodSystem_CAPS_static SetInstanceType(ILifeline, String)

Set the type name.

Remarks

For more information about UML diagrams, see Create models for your app.

For more information about using the UML API, see Extend 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

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top