ServiceProviderExtensions.GetConfiguration(IServiceProvider) Method

Definition

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.

Applies to