IServiceProviderExtensions.GetService<T>(IServiceProvider) 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.
For internal use by the XAML infrastructure.
public static T GetService<T> (this IServiceProvider provider);
static member GetService : IServiceProvider -> 'T
Type Parameters
- T
For internal use by the XAML infrastructure.
Parameters
- provider
- System.IServiceProvider
For internal use by the XAML infrastructure.
Returns
For internal use by the XAML infrastructure.