Microsoft.VisualStudio.Modeling.Integration Namespace

 

The types in this namespace help you to define tools that work with more than one DSL model. ModelBus provides a mechanism for defining a reference to an element in a model file. This can be used, for example, to make links from one file to another. For more information, see Integrating Models by using Visual Studio Modelbus.

ClassDescription
System_CAPS_pubclassAdapterAlreadyRegisteredException

This defines the AdapterAlreadyRegisteredException class, which is thrown to signal duplicate registration of the same IAdapter instance.

System_CAPS_pubclassAdapterCreationException

This defines the AdapterCreationException class, which is thrown when a call to CreateAdapter() fails.

System_CAPS_pubclassAdapterManagerAlreadyRegisteredException

This defines the AdapterManagerAlreadyRegisteredException class, which is thrown to signal duplicate registration of the same IAdapterManager type.

System_CAPS_pubclassAdapterManagerNotRegisteredException

This file defines the AdapterManagerNotRegisteredException class, which is thrown when a ModelBusAdapter manager is requested but is not registered.

System_CAPS_pubclassAdapterNotRegisteredException

This defines the AdapterNotRegisteredException class, which is thrown when a ModelBusAdapter is requested but is not registered.

System_CAPS_pubclassAdapterNotSupportedException

Exception type thrown when an adapter manager is asked to handle a type of adapter that it does not support.

System_CAPS_pubclassAdapterReferenceTypeNotSupportedException

Exception type thrown when an adapter manager is asked to serialized type of ModelBusAdapterReference that it does not support.

System_CAPS_pubclassCompositionAttributes

System_CAPS_pubclassCompositionConfigurationManager

Class to provide a MEF-based way of configuring the ModelBus

System_CAPS_pubclassDynamicAdapterManagerAttribute

Custom attribute used to indicate that an adapter manager supports any arbitrary LogicalAdapterId. Using this attribute on an AdapterManager implies that the AdapterManager can be used generically to support multiple different Adapters or multiple different Models. The MEF based ModelBus ConfigurationManager will query such AdapterManagers to discover which AdapterIds they support at runtime rather than just rely on MEF meta-data thus allowing the AdapterManager to dynamically support arbitrary models.

System_CAPS_pubclassHandlesAdapterAttribute

Custom attribute used to indicate that an adapter manager handles a particular type of adapter

System_CAPS_pubclassHostSpecificAttribute

Custom attribute used to indicate that a ModelBus part works in a particular ModelBus host.

System_CAPS_pubclassInvalidAdapterManagerException

Exception class for invalid adapter manager exceptions

System_CAPS_pubclassModelBus

ModelBus allows tools to interoperate in a loosely coupled fashion.

System_CAPS_pubclassModelBusAdapter

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.

System_CAPS_pubclassModelBusAdapterManager

The ModelBusAdapterManager is used to create instances of the supported ModelBusAdapter, and manage their lifetime. Derive from this class to create a ModelBusAdapterManager for your own DSL.

System_CAPS_pubclassModelBusAdapterReference

Base class for all adapter references

System_CAPS_pubclassModelBusException

This defines the ModelBusException class, which is the base of all exceptions used by ModelBus architecture.

System_CAPS_pubclassModelBusReference

Encapsulates a reference to a model. The following variants are supported: reference to a model; reference to an element in a model; reference to a model and a view of that model; reference to an element in a model with a view.

System_CAPS_pubclassModelBusReferenceFormatException

System_CAPS_pubclassModelBusReferencePropertySerializer

Custom DomainProperty serializer to serialize/deserializer ModelBusReferences

System_CAPS_pubclassModelBusReferenceTypeConverter

Converter that can convert ModelBusReferences to strings.

System_CAPS_pubclassModelBusResetException

This defines the ModelBusResetException class, which is thrown when Backplane.Reset() fails.

System_CAPS_pubclassModelBusView

ModelBusView is an object obtained from a ModelBusAdapter for a Model. The ModelBusView allows the client to create, access and manipulate the design surface or editor for the model.

System_CAPS_pubclassModelingAdapter

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

System_CAPS_pubclassModelingAdapterReference

Standard DSL implementation of an adapter reference.

System_CAPS_pubclassModelingAdapterReferenceFormatException

System_CAPS_pubclassModelingDocumentHandler

This is a pluggable class that a ModelBusAdapter can use for configuring management of the underlying Document represented by this ModelBusAdapter.

System_CAPS_pubclassPresentationAlreadyCreatedException

This defines the PresentationAlreadyCreatedException class, which is thrown when a call to CreatePresentation() is made on a service that already has a presentation of the given type.

System_CAPS_pubclassPresentationCreationException

This defines the PresentationCreationException class, which is thrown when a call to CreatePresentation() fails.

System_CAPS_pubclassReferenceContext

When a ModelBusReference is serialized, the serialized string can be made relative to some context information such as a file path. When the string is deserialized, you can provide the same context or a different context. ReferenceContext is a dictionary that stores the context information. The set of keys and types stored in a context depend on the class of ModelBusAdapter that you use.

System_CAPS_pubclassReferenceFormatException

This defines the ReferenceFormatException class, which is thrown when a reference does not conform to the correct format.

System_CAPS_pubclassStandardModelingAdapter

Represents a basic DSL based model adapter.

System_CAPS_pubclassSupportedType

Class the holds the adapter manager's supported type and it's display name

System_CAPS_pubclassViewOperationException

This defines the ViewOperationException class, which is thrown when an creation of ModelBusView or an operation on a ModelBusView instance fails.

InterfaceDescription
System_CAPS_pubinterfaceIConfiguration

System_CAPS_pubinterfaceIModelBus

Obtain an instance of this type from a service provider and use it to obtain an adapter that can be used to open another model.

System_CAPS_pubinterfaceIModelingAdapterWithRootedModel

Interface implemented by ModelBus adapters that expose the root element of the model.

System_CAPS_pubinterfaceIModelingAdapterWithStore

Interface implemented by ModelBus adapters that expose the store.

System_CAPS_pubinterfaceSModelBus

The service interface for the Visual Studio ModelBus service.

EnumerationDescription
System_CAPS_pubenumErrorCategory

Enumeration to specify the severity of an error

System_CAPS_pubenumReferenceStatus

System_CAPS_pubenumValidateReferenceOption

Validation options

Return to top
Show: