CreateReferenceRelationship Class
ConnectionBuilder class to provide logic for constructing connections between elements.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.DslDefinition.CreateReferenceRelationship
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Déclaration
Public NotInheritable Class CreateReferenceRelationship
public static class CreateReferenceRelationship
public ref class CreateReferenceRelationship abstract sealed
[<AbstractClass>]
[<Sealed>]
type CreateReferenceRelationship = class end
public final class CreateReferenceRelationship
The CreateReferenceRelationship type exposes the following members.
Methods
Name | Description | |
---|---|---|
CanAcceptSource | Test whether a given model element is acceptable to this ConnectionBuilder as the source of a connection. | |
CanAcceptSourceAndTarget | Test whether a given pair of model elements are acceptable to this ConnectionBuilder as the source and target of a connection | |
CanAcceptTarget | Test whether a given model element is acceptable to this ConnectionBuilder as the target of a connection. | |
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.