Share via


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

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.11.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.11.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
Protected method VsTextTemplatingModelingAdapterManager

Top

Properties

  Name Description
Public property Disposed (Inherited from ModelBusAdapterManager.)
Public property ModelBus (Inherited from ModelBusAdapterManager.)

Top

Methods

  Name Description
Public method CanCreateReference (Inherited from ModelBusAdapterManager.)
Protected method CheckCanCreateAdapter (Inherited from VsModelingAdapterManager.)
Public method ClearState Clear the store state for all adapters.
Public method CreateAdapter(ModelBusReference) (Inherited from ModelBusAdapterManager.)
Public method CreateAdapter(ModelBusReference, IServiceProvider) (Inherited from ModelBusAdapterManager.)
Protected method CreateDocumentHandler Create a ModelingDocumentHandler given a ModelingAdapterReference.
Protected method CreateLoadStore Load a Store with the model for the given adapter reference. If the given Store is null then create the Store as well.
Protected method CreateModelingAdapterInstance (Inherited from VsModelingAdapterManager.)
Public method CreateReference (Inherited from ModelBusAdapterManager.)
Protected method CreateSerializerLocator
Protected method DeserializeAdapterReference (Inherited from VsModelingAdapterManager.)
Public method Dispose() (Inherited from ModelBusAdapterManager.)
Protected method Dispose(Boolean) (Inherited from ModelBusAdapterManager.)
Protected method DoCreateAdapter Creates a ModelBusAdapter from a ModelBusReference. (Overrides VsModelingAdapterManager.DoCreateAdapter(ModelBusReference, IServiceProvider).)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize (Inherited from ModelBusAdapterManager.)
Protected method FindStoreRoot Given a cached store, find the model root within it for the given adapter reference.
Protected method GetAdapterReferenceStoreKey Given an AdapterReference, provide a key that uniquely represents the Store that should be used for loading/dereferencing it.
Public method GetExposedElementTypes (Inherited from ModelBusAdapterManager.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetSupportedLogicalAdapterIds (Inherited from ModelBusAdapterManager.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method GetView Not supported in the context of text templates. (Overrides VsModelingAdapterManager.GetView(ModelBusAdapter, ModelBusReference).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method SerializeAdapterReference (Inherited from VsModelingAdapterManager.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryCreateReference (Inherited from ModelBusAdapterManager.)
Public method ValidateReference (Inherited from ModelBusAdapterManager.)

Top

Fields

  Name Description
Public fieldStatic member 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.

See Also

Reference

Microsoft.VisualStudio.TextTemplating.Modeling Namespace