InteractionExtensions.CreateCombinedFragment Method (IInteraction, InteractionOperatorKind, IEnumerable<IInsertionPoint>)
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
'Declaration
<ExtensionAttribute> _
Public Shared Function CreateCombinedFragment ( _
parent As IInteraction, _
operatorKind As InteractionOperatorKind, _
insertionPointsOnLifelines As IEnumerable(Of IInsertionPoint) _
) As ICombinedFragment
public static ICombinedFragment CreateCombinedFragment(
this IInteraction parent,
InteractionOperatorKind operatorKind,
IEnumerable<IInsertionPoint> insertionPointsOnLifelines
)
[ExtensionAttribute]
public:
static ICombinedFragment^ CreateCombinedFragment(
IInteraction^ parent,
InteractionOperatorKind operatorKind,
IEnumerable<IInsertionPoint^>^ insertionPointsOnLifelines
)
static member CreateCombinedFragment :
parent:IInteraction *
operatorKind:InteractionOperatorKind *
insertionPointsOnLifelines:IEnumerable<IInsertionPoint> -> ICombinedFragment
public static function CreateCombinedFragment(
parent : IInteraction,
operatorKind : InteractionOperatorKind,
insertionPointsOnLifelines : IEnumerable<IInsertionPoint>
) : ICombinedFragment
Parameters
- parent
Type: Microsoft.VisualStudio.Uml.Interactions.IInteraction
- operatorKind
Type: Microsoft.VisualStudio.Uml.Interactions.InteractionOperatorKind
The operator defines how the combination of fragments is interpreted - alternatives, parallel, and so on.
- insertionPointsOnLifelines
Type: System.Collections.Generic.IEnumerable<IInsertionPoint>
An existing collection of points on lifelines that should be covered by the initial operand of the combined fragment.
Return Value
Type: Microsoft.VisualStudio.Uml.Interactions.ICombinedFragment
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IInteraction. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CreateCombinedFragment Overload
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace