VsTextTemplatingModelingAdapterManager.CreateDocumentHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates and returns a ModelingDocumentHandler given a ModelingAdapterReference
protected virtual Microsoft.VisualStudio.Modeling.Integration.ModelingDocumentHandler CreateDocumentHandler (Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference adapterReference, IServiceProvider serviceProvider);
abstract member CreateDocumentHandler : Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference * IServiceProvider -> Microsoft.VisualStudio.Modeling.Integration.ModelingDocumentHandler
override this.CreateDocumentHandler : Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference * IServiceProvider -> Microsoft.VisualStudio.Modeling.Integration.ModelingDocumentHandler
Protected Overridable Function CreateDocumentHandler (adapterReference As ModelingAdapterReference, serviceProvider As IServiceProvider) As ModelingDocumentHandler
Parameters
- adapterReference
- Microsoft.VisualStudio.Modeling.Integration.ModelingAdapterReference
- serviceProvider
- IServiceProvider
Returns
Microsoft.VisualStudio.Modeling.Integration.ModelingDocumentHandler