VsTextTemplatingModelingAdapterManager Class

 

Creates and manages Model Bus Adapters representing Domain-Specific Language models inside a text templating AppDomain in Visual Studio.

Namespace:   Microsoft.VisualStudio.TextTemplating.Modeling
Assembly:  Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapterManager
    Microsoft.VisualStudio.Modeling.Integration.Shell.VsModelingAdapterManager
      Microsoft.VisualStudio.TextTemplating.Modeling.VsTextTemplatingModelingAdapterManager

Syntax

[CLSCompliantAttribute(false)]
public abstract class VsTextTemplatingModelingAdapterManager : VsModelingAdapterManager
[CLSCompliantAttribute(false)]
public ref class VsTextTemplatingModelingAdapterManager abstract : VsModelingAdapterManager
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
type VsTextTemplatingModelingAdapterManager = 
    class
        inherit VsModelingAdapterManager
    end
<CLSCompliantAttribute(False)>
Public MustInherit Class VsTextTemplatingModelingAdapterManager
    Inherits VsModelingAdapterManager

Constructors

Name Description
System_CAPS_protmethod VsTextTemplatingModelingAdapterManager()

Properties

Name Description
System_CAPS_pubproperty Disposed

(Inherited from ModelBusAdapterManager.)

System_CAPS_pubproperty ModelBus

(Inherited from ModelBusAdapterManager.)

Methods

Name Description
System_CAPS_pubmethod CanCreateReference(Object[])

(Inherited from ModelBusAdapterManager.)

System_CAPS_protmethod CheckCanCreateAdapter(ModelBusReference)

(Inherited from VsModelingAdapterManager.)

System_CAPS_pubmethod ClearState()

Clear the store state for all adapters.

System_CAPS_pubmethod CreateAdapter(ModelBusReference)

(Inherited from ModelBusAdapterManager.)

System_CAPS_pubmethod CreateAdapter(ModelBusReference, IServiceProvider)

(Inherited from ModelBusAdapterManager.)

System_CAPS_protmethod CreateDocumentHandler(ModelingAdapterReference, IServiceProvider)

Create a ModelingDocumentHandler given a ModelingAdapterReference.

System_CAPS_protmethod CreateLoadStore(Store, ModelingAdapterReference, IServiceProvider)

Load a Store with the model for the given adapter reference. If the given Store is null then create the Store as well.

System_CAPS_protmethod CreateModelingAdapterInstance(ModelBusReference, ModelElement)

(Inherited from VsModelingAdapterManager.)

System_CAPS_pubmethod CreateReference(Object[])

(Inherited from ModelBusAdapterManager.)

System_CAPS_protmethod CreateSerializerLocator()

System_CAPS_protmethod DeserializeAdapterReference(String, ReferenceContext)

(Inherited from VsModelingAdapterManager.)

System_CAPS_pubmethod Dispose()

(Inherited from ModelBusAdapterManager.)

System_CAPS_protmethod Dispose(Boolean)

(Inherited from ModelBusAdapterManager.)

System_CAPS_protmethod DoCreateAdapter(ModelBusReference, IServiceProvider)

Creates a ModelBusAdapter from a ModelBusReference.(Overrides VsModelingAdapterManager.DoCreateAdapter(ModelBusReference, IServiceProvider).)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod FindStoreRoot(Store, ModelingAdapterReference, IServiceProvider)

Given a cached store, find the model root within it for the given adapter reference.

System_CAPS_protmethod GetAdapterReferenceStoreKey(ModelingAdapterReference)

Given an AdapterReference, provide a key that uniquely represents the Store that should be used for loading/dereferencing it.

System_CAPS_pubmethod GetExposedElementTypes(String)

(Inherited from ModelBusAdapterManager.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetSupportedLogicalAdapterIds()

(Inherited from ModelBusAdapterManager.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod GetView(ModelBusAdapter, ModelBusReference)

Not supported in the context of text templates.(Overrides VsModelingAdapterManager.GetView(ModelBusAdapter, ModelBusReference).)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod SerializeAdapterReference(ModelBusAdapterReference, ReferenceContext)

(Inherited from VsModelingAdapterManager.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryCreateReference(ModelBusReference, Object[])

(Inherited from ModelBusAdapterManager.)

System_CAPS_pubmethod ValidateReference(ModelBusReference, ValidateReferenceOption)

(Inherited from ModelBusAdapterManager.)

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static HostName

A constant string identifying this as the Visual Studio Text Templating Model Bus host.

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_protmethod Object.Finalize()

(Inherited from ModelBusAdapterManager.)

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

Microsoft.VisualStudio.TextTemplating.Modeling Namespace

Return to top