ModelBus allows tools to interoperate in a loosely coupled fashion.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Thetype exposes the following members.
|CreateAdapter(ModelBusReference, IServiceProvider)||Implements method|
|DeserializeReference||Deserializes the supplied string and returns a ModelBusReference.|
|Dispose(Boolean)||Dispose this ModelBus instance.|
|Equals||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Destructor. (Overrides Object.Finalize().)|
|FindAdapterManagers||Finds the list of ModelBusAdapter managers whose ModelBusAdapter scopes are described by the given context information. There may be multiple ModelBusAdapter managers that can work with the model, for example a .xml file can be opened by XML editor or Text editor.|
|GetAdapterManager||Locate a ModelBusAdapterManager instance using its Id.|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetRegisteredAdapterManagers<T>||Get the set of loaded, registered adapter managers of type T|
|GetService||Returns Adapters provided by the ModeBus or by its host.|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|LogError||Logs an error|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|SerializeReference||Serializes the supplied reference to a string that can be persisted by the caller.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
|ValidateReference||Validates a given reference using the corresponding adapter. This method updates the LastStatus of a reference in addition to returning it.|
For more information, see Integrating Models by using Visual Studio Modelbus.