VsTextTemplatingModelingAdapterManager Class
Creates and manages Model Bus Adapters representing Domain-Specific Language models inside a text templating AppDomain in Visual Studio.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapterManager
Microsoft.VisualStudio.Modeling.Integration.Shell.VsModelingAdapterManager
Microsoft.VisualStudio.TextTemplating.Modeling.VsTextTemplatingModelingAdapterManager
Namespace: Microsoft.VisualStudio.TextTemplating.Modeling
Assembly: Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public MustInherit Class VsTextTemplatingModelingAdapterManager _
Inherits VsModelingAdapterManager
[CLSCompliantAttribute(false)]
public abstract class VsTextTemplatingModelingAdapterManager : VsModelingAdapterManager
[CLSCompliantAttribute(false)]
public ref class VsTextTemplatingModelingAdapterManager abstract : public VsModelingAdapterManager
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
type VsTextTemplatingModelingAdapterManager =
class
inherit VsModelingAdapterManager
end
public abstract class VsTextTemplatingModelingAdapterManager extends VsModelingAdapterManager
The VsTextTemplatingModelingAdapterManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VsTextTemplatingModelingAdapterManager |
Top
Properties
Name | Description | |
---|---|---|
Disposed | (Inherited from ModelBusAdapterManager.) | |
ModelBus | (Inherited from ModelBusAdapterManager.) |
Top
Methods
Name | Description | |
---|---|---|
CanCreateReference | (Inherited from ModelBusAdapterManager.) | |
CheckCanCreateAdapter | (Inherited from VsModelingAdapterManager.) | |
ClearState | Clear the store state for all adapters. | |
CreateAdapter(ModelBusReference) | (Inherited from ModelBusAdapterManager.) | |
CreateAdapter(ModelBusReference, IServiceProvider) | (Inherited from ModelBusAdapterManager.) | |
CreateDocumentHandler | Create a ModelingDocumentHandler given a ModelingAdapterReference. | |
CreateLoadStore | Load a Store with the model for the given adapter reference. If the given Store is null then create the Store as well. | |
CreateModelingAdapterInstance | (Inherited from VsModelingAdapterManager.) | |
CreateReference | (Inherited from ModelBusAdapterManager.) | |
CreateSerializerLocator | ||
DeserializeAdapterReference | (Inherited from VsModelingAdapterManager.) | |
Dispose() | (Inherited from ModelBusAdapterManager.) | |
Dispose(Boolean) | (Inherited from ModelBusAdapterManager.) | |
DoCreateAdapter | Creates a ModelBusAdapter from a ModelBusReference. (Overrides VsModelingAdapterManager.DoCreateAdapter(ModelBusReference, IServiceProvider).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | (Inherited from ModelBusAdapterManager.) | |
FindStoreRoot | Given a cached store, find the model root within it for the given adapter reference. | |
GetAdapterReferenceStoreKey | Given an AdapterReference, provide a key that uniquely represents the Store that should be used for loading/dereferencing it. | |
GetExposedElementTypes | (Inherited from ModelBusAdapterManager.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetSupportedLogicalAdapterIds | (Inherited from ModelBusAdapterManager.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetView | Not supported in the context of text templates. (Overrides VsModelingAdapterManager.GetView(ModelBusAdapter, ModelBusReference).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SerializeAdapterReference | (Inherited from VsModelingAdapterManager.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryCreateReference | (Inherited from ModelBusAdapterManager.) | |
ValidateReference | (Inherited from ModelBusAdapterManager.) |
Top
Fields
Name | Description | |
---|---|---|
HostName | A constant string identifying this as the Visual Studio Text Templating Model Bus host. |
Top
Remarks
This class provides ModelBusAdapter life-cycle management, but does not provide any capability to save models to disk.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.