VsTextTemplatingModelingAdapterManager::DoCreateAdapter Method (ModelBusReference^, IServiceProvider^)

 

Creates a ModelBusAdapter from a ModelBusReference.

Namespace:   Microsoft.VisualStudio.TextTemplating.Modeling
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.

Return to top
Show: