InteractionExtensions.CreateCombinedFragment Method (IInteraction, InteractionOperatorKind, IEnumerable<IMessage>)
Create a Combined Fragment containing one operand. You can add more operands later.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
public static ICombinedFragment CreateCombinedFragment(
this IInteraction parent,
InteractionOperatorKind operatorKind,
IEnumerable<IMessage> messages
)
public:
[ExtensionAttribute]
static ICombinedFragment^ CreateCombinedFragment(
IInteraction^ parent,
InteractionOperatorKind operatorKind,
IEnumerable<IMessage^>^ messages
)
static member CreateCombinedFragment :
parent:IInteraction *
operatorKind:InteractionOperatorKind *
messages:IEnumerable<IMessage> -> ICombinedFragment
<ExtensionAttribute>
Public Shared Function CreateCombinedFragment (
parent As IInteraction,
operatorKind As InteractionOperatorKind,
messages As IEnumerable(Of IMessage)
) As ICombinedFragment
Parameters
- parent
Type: Microsoft.VisualStudio.Uml.Interactions.IInteraction
operatorKind
Type: Microsoft.VisualStudio.Uml.Interactions.InteractionOperatorKindThe operator defines how the combination of fragments is interpreted - alternatives, parallel, and so on.
messages
Type: System.Collections.Generic.IEnumerable<IMessage>The existing messages that should be covered by the initial operand of the combined fragment. They must originate on the same lifeline or execution block, and must be in consecutive order.
Return Value
Type: Microsoft.VisualStudio.Uml.Interactions.ICombinedFragment
See Also
CreateCombinedFragment Overload
InteractionExtensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace
Return to top