PackageUtilities::ProfferService<TService, TImpl> Method (IServiceContainer^)
Visual Studio 2015
Proffers to a service container the service implemented by the specified type.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: generic<typename TService, typename TImpl> where TImpl : gcnew() static void ProfferService( IServiceContainer^ serviceContainer )
Parameters
- serviceContainer
-
Type:
System.ComponentModel.Design::IServiceContainer^
The service container to proffer to.
Type Parameters
- TService
The type of service.
- TImpl
The type that implements < TService.
Show: