InteractionExtensions.CreateCombinedFragment 메서드 (IInteraction, InteractionOperatorKind, IEnumerable<IMessage>)

하나의 피연산자를 포함하는 결합 조각을 만듭니다.나중에 피연산자를 추가할 수 있습니다.

네임스페이스:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
어셈블리:  Microsoft.VisualStudio.ArchitectureTools.Extensibility(Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

구문

‘선언
<ExtensionAttribute> _
Public Shared Function CreateCombinedFragment ( _
    parent As IInteraction, _
    operatorKind As InteractionOperatorKind, _
    messages As IEnumerable(Of IMessage) _
) As ICombinedFragment
public static ICombinedFragment CreateCombinedFragment(
    this IInteraction parent,
    InteractionOperatorKind operatorKind,
    IEnumerable<IMessage> messages
)
[ExtensionAttribute]
public:
static ICombinedFragment^ CreateCombinedFragment(
    IInteraction^ parent, 
    InteractionOperatorKind operatorKind, 
    IEnumerable<IMessage^>^ messages
)
static member CreateCombinedFragment : 
        parent:IInteraction * 
        operatorKind:InteractionOperatorKind * 
        messages:IEnumerable<IMessage> -> ICombinedFragment 
public static function CreateCombinedFragment(
    parent : IInteraction, 
    operatorKind : InteractionOperatorKind, 
    messages : IEnumerable<IMessage>
) : ICombinedFragment

매개 변수

  • messages
    형식: System.Collections.Generic.IEnumerable<IMessage>
    결합 조각의 초기 피연산자에 의해 적용되어야 하는 기존 메시지입니다.이들은 같은 수명선 또는 실행 블록에서 시작해야 하며 연속적 순서여야 합니다.

반환 값

형식: Microsoft.VisualStudio.Uml.Interactions.ICombinedFragment

사용 정보

Visual Basic 및 C#에서는 이 메서드를 IInteraction 형식의 모든 개체에서 인스턴스 메서드로 호출할 수 있습니다. 인스턴스 메서드 구문을 사용하여 이 메서드를 호출할 경우에는 첫 번째 매개 변수를 생략합니다. 자세한 내용은 확장 메서드(Visual Basic) 또는 확장 메서드(C# 프로그래밍 가이드)를 참조하십시오.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

InteractionExtensions 클래스

CreateCombinedFragment 오버로드

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml 네임스페이스