VsTextTemplatingModelingAdapterManager::DoCreateAdapter Method (ModelBusReference^, IServiceProvider^)
Visual Studio 2015
Creates a ModelBusAdapter from a ModelBusReference.
Assembly: Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)
protected: virtual ModelBusAdapter^ DoCreateAdapter( ModelBusReference^ reference, IServiceProvider^ serviceProvider ) override
Parameters
- reference
-
Type:
Microsoft.VisualStudio.Modeling.Integration::ModelBusReference^
Reference from which to create the adapter.
- serviceProvider
-
Type:
System::IServiceProvider^
Service provider used to create an association between the caller and the referenced model.
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration::ModelBusAdapter^A new ModelBusAdapter instance.
Show: