Dela via


InteractionExtensions Class

Provides extension methods.

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class InteractionExtensions
public static class InteractionExtensions
[ExtensionAttribute]
public ref class InteractionExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type InteractionExtensions =  class end
public final class InteractionExtensions

The InteractionExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member CreateCombinedFragment(IInteraction, InteractionOperatorKind, IInteractionUse) Create a Combined Fragment containing one operand. You can add more operands later.
Public methodStatic member CreateCombinedFragment(IInteraction, InteractionOperatorKind, IEnumerable<IInsertionPoint>) Create a Combined Fragment containing one operand. You can add more operands later.
Public methodStatic member CreateCombinedFragment(IInteraction, InteractionOperatorKind, IEnumerable<IMessage>) Create a Combined Fragment containing one operand. You can add more operands later.
Public methodStatic member CreateComment Create a Comment.
Public methodStatic member CreateInteractionUse
Public methodStatic member CreateLifeline Create a new ILifeline object in the Interaction
Public methodStatic member CreateLostFoundMessage Create a message that does not begin on a lifeline, or that does not end on a lifeline.
Public methodStatic member CreateMessage Create a complete message, beginning and ending on specified lifelines.
Public methodStatic member CreateProperty Create a new IProperty object in the Interaction
Public methodStatic member Delete(ICombinedFragment) Delete the combined fragment and the messages and other elements that it covers.
Public methodStatic member Delete(IMessage) Delete the message.
Public methodStatic member GetCombinedFragments All the combined fragments under the interaction.

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