ModelBus Methods

The ModelBus type exposes the following members.

  Name Description
Public method CreateAdapter(ModelBusReference) Implements CreateAdapter method
Public method CreateAdapter(ModelBusReference, IServiceProvider) Implements CreateAdapter method
Public method DeserializeReference Deserializes the supplied string and returns a ModelBusReference.
Public method Dispose()
Protected method Dispose(Boolean) Dispose this ModelBus instance.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Destructor. (Overrides Object.Finalize().)
Public method 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.
Public method GetAdapterManager Locate a ModelBusAdapterManager instance using its Id.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetRegisteredAdapterManagers<T> Get the set of loaded, registered adapter managers of type T
Public method GetService Returns Adapters provided by the ModeBus or by its host.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method LogError Logs an error
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SerializeReference Serializes the supplied reference to a string that can be persisted by the caller.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method ValidateReference Validates a given reference using the corresponding adapter. This method updates the LastStatus of a reference in addition to returning it.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft