Compartilhar via


CreateEmbeddingRelationship Class

ConnectionBuilder class to provide logic for constructing connections between elements.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.DslDefinition.CreateEmbeddingRelationship

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Declaração
Public NotInheritable Class CreateEmbeddingRelationship
public static class CreateEmbeddingRelationship
public ref class CreateEmbeddingRelationship abstract sealed
[<AbstractClass>]
[<Sealed>]
type CreateEmbeddingRelationship =  class end
public final class CreateEmbeddingRelationship

The CreateEmbeddingRelationship type exposes the following members.

Methods

  Name Description
Public methodStatic member CanAcceptSource Test whether a given model element is acceptable to this ConnectionBuilder as the source of a connection.
Public methodStatic member CanAcceptSourceAndTarget Test whether a given pair of model elements are acceptable to this ConnectionBuilder as the source and target of a connection
Public methodStatic member CanAcceptTarget Test whether a given model element is acceptable to this ConnectionBuilder as the target of a connection.
Public methodStatic member Connect Make a connection between the given pair of source and target elements

Top

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.Modeling.DslDefinition Namespace