Partager via


ModelBusEnabledTextTransformation.ServiceProvider Property

Return a service provider containing the Visual Studio ModelBus. Do not use the service provider from the Host.

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

Syntax

'Declaration
Protected Overrides ReadOnly Property ServiceProvider As IServiceProvider
protected override IServiceProvider ServiceProvider { get; }
protected:
virtual property IServiceProvider^ ServiceProvider {
    IServiceProvider^ get () override;
}
abstract ServiceProvider : IServiceProvider with get 
override ServiceProvider : IServiceProvider with get
override function get ServiceProvider () : IServiceProvider

Property Value

Type: System.IServiceProvider

.NET Framework Security

See Also

Reference

ModelBusEnabledTextTransformation Class

Microsoft.VisualStudio.TextTemplating.Modeling Namespace