ModelBusAdapter Class

 

A ModelBusAdapter is an object that serves as a bridge between the ModelBus and the underlying model. ModelBusAdapter instances are created by ModelBusAdapterManager, and the operations a ModelBusAdapter exposes are defined by the ModelBusAdapter contract of the ModelBusAdapterManager.

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

System::Object
  Microsoft.VisualStudio.Modeling.Integration::ModelBusAdapter
    Microsoft.VisualStudio.Modeling.Integration::ModelingAdapter

public ref class ModelBusAdapter abstract : IEquatable<ModelBusAdapter^>, 
	IDisposable

NameDescription
System_CAPS_pubpropertyAdapterManager

ModelBusAdapterManager instance that creates this ModelBusAdapter instance.

System_CAPS_pubpropertyDisplayName

The display name of the ModelBusAdapter

System_CAPS_pubpropertyDisposed

True if this ModelBusAdapter instance has been disposed, false otherwise.

System_CAPS_pubpropertyReference

NameDescription
System_CAPS_pubmethodDispose()

System_CAPS_protmethodDispose(Boolean)

Dispose this ModelBusAdapter instance. The base class does nothing. Derived ModelBusAdapter implementations can choose to do additional work, including persist unsaved data, free up resources, etc.

System_CAPS_pubmethodEquals(ModelBusAdapter^)

True if this ModelBusAdapter is the same as the given ModelBusAdapter instance, false otherwise.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

Destructor.(Overrides Object::Finalize().)

System_CAPS_pubmethodGetDefaultView()

Obtains the DefaultView associated with this Model, if one is available.

System_CAPS_pubmethodGetElementReference(Object^)

Get the reference of a given object instance supposed to be exposed by this adapter.

System_CAPS_protmethodGetElementReferences(Type^)

Get back all referenced objects that conform to a given data contract.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetReferences(Type^)

System_CAPS_protmethodGetReferenceStatus()

Returns the ReferenceStatus for the current reference. If this is an element reference then tries ResolveElementReference.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetView(ModelBusReference^)

Gets a specific view associated with this Model based on the ModelBusView reference

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodResolveElementReference(ModelBusReference^)

Given an identifier for an Element, returns the actual object represented by this reference.

System_CAPS_pubmethodResolveElementReference<T>(ModelBusReference^)

Given an identifier for an Element, returns the actual object represented by this reference (strong typed helper method)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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: