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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.