Share via


ServiceProviderExtensions Class

Class that contains extensions to IServiceProvider relevant to T4 templates.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TextTemplating.ServiceProviderExtensions

Namespace:  Microsoft.VisualStudio.TextTemplating
Assembly:  Microsoft.VisualStudio.TextTemplating.Interfaces.11.0 (in Microsoft.VisualStudio.TextTemplating.Interfaces.11.0.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ServiceProviderExtensions
public static class ServiceProviderExtensions
[ExtensionAttribute]
public ref class ServiceProviderExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type ServiceProviderExtensions =  class end
public final class ServiceProviderExtensions

The ServiceProviderExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member GetCOMService Attempts to return a service from a remote provider enabled for COM interfacing.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TextTemplating Namespace