Condividi tramite


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
Public methodStatic member 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.
Public methodStatic member 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.
Public methodStatic member FindInsertionPointAfterCombinedFragment Returns an insertion point immediately after the given Combined Fragment
Public methodStatic member FindInsertionPointAfterExecutionSpecification Returns an insertion point on this lifeline immediately after the given Execution Specification.
Public methodStatic member FindInsertionPointAfterInteractionUse Returns an insertion point immediately after the given Interaction Use.
Public methodStatic member FindInsertionPointAfterMessage Returns an insertion point on this lifeline immediately after the given message.
Public methodStatic member FindInsertionPointAtBottom The insertion point at the bottom of the lifeline
Public methodStatic member FindInsertionPointAtTop The insertion point at the top of the lifeline.
Public methodStatic member GetAllIncomingMessages All messages incoming to the lifeline or any Execution Specification on the lifeline
Public methodStatic member GetAllOutgoingMessages All messages outgoing from the lifeline or from any ExecutionSpecification on the lifeline
Public methodStatic member 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.
Public methodStatic member GetDisplayName Get the lifeline name or name and type, as displayed on the diagram.
Public methodStatic member GetExecutionSpecifications The top level Execution Specification blocks on the lifeline
Public methodStatic member GetInstanceType Get the type name.
Public methodStatic member GetOutgoingMessages The top level outgoing messages outgoing from the Lifeline, not from any Execution Specification.
Public methodStatic member 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