ServiceProviderExtensions.GetConfiguration(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.
Gets the configuration from the IServiceProvider.
public static Microsoft.Testing.Platform.Configurations.IConfiguration GetConfiguration(this IServiceProvider serviceProvider);
static member GetConfiguration : IServiceProvider -> Microsoft.Testing.Platform.Configurations.IConfiguration
<Extension()>
Public Function GetConfiguration (serviceProvider As IServiceProvider) As IConfiguration
Parameters
- serviceProvider
- IServiceProvider
The service provider.
Returns
The configuration.