ModelingAdapter Class

 

Wraps a domain-specific language model. Derive from this class to create an adapter for your DSL.

Namespace:   Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)


public ref class ModelingAdapter abstract : ModelBusAdapter

NameDescription
System_CAPS_pubpropertyAdapterManager

ModelBusAdapterManager instance that creates this ModelBusAdapter instance.(Inherited from ModelBusAdapter.)

System_CAPS_pubpropertyDisplayName

The display name of the ModelBusAdapter(Inherited from ModelBusAdapter.)

System_CAPS_pubpropertyDisposed

True if this ModelBusAdapter instance has been disposed, false otherwise.(Inherited from ModelBusAdapter.)

System_CAPS_pubpropertyDocumentHandler

ModelingDocumentHandler used by this ModelingAdapter. The DocumentHandler is used by the ModelBusAdapter to configure the model wrapped by it. You can set this property only if it has not been set already.

System_CAPS_pubpropertyReference

(Inherited from ModelBusAdapter.)

NameDescription
System_CAPS_pubmethodDispose()

(Inherited from ModelBusAdapter.)

System_CAPS_protmethodDispose(Boolean)

Clean-up this ModelBusAdapter instance. Triggers a dispose of the DocumentHandler, if it has one.(Overrides ModelBusAdapter::Dispose(Boolean).)

System_CAPS_pubmethodEquals(ModelBusAdapter^)

True if this ModelBusAdapter is the same as the given ModelBusAdapter instance, false otherwise.(Inherited from ModelBusAdapter.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

Destructor.(Inherited from ModelBusAdapter.)

System_CAPS_pubmethodGetDefaultView()

Obtains the DefaultView associated with this Model, if one is available.(Inherited from ModelBusAdapter.)

System_CAPS_pubmethodGetElementReference(Object^)

Get the reference of a given object instance supposed to be exposed by this adapter.(Inherited from ModelBusAdapter.)

System_CAPS_protmethodGetElementReferences(Type^)

Get back all referenced objects that conform to a given data contract.(Inherited from ModelBusAdapter.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetReferences(Type^)

(Inherited from ModelBusAdapter.)

System_CAPS_protmethodGetReferenceStatus()

Returns the ReferenceStatus for the current reference. If this is an element reference then tries ResolveElementReference.(Inherited from ModelBusAdapter.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetView(ModelBusReference^)

Gets a specific view associated with this Model based on the ModelBusView reference(Inherited from ModelBusAdapter.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodResolveElementReference(ModelBusReference^)

Given an identifier for an Element, returns the actual object represented by this reference.(Inherited from ModelBusAdapter.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTrySetDocumentHandler(ModelingDocumentHandler^)

If the ModelingDocumentHandler is not already set (by the constructor for e.g.), then sets it to the value passed as a parameter. Otherwise, returns false.

Create an adapter on a specified model using an instance of IModelBus.

For more information, see Integrating Models by using Visual Studio Modelbus.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: