Open sandboxFocus

Method GetRequiredService

GetRequiredService<T>(IServiceProvider<IGlobalService>)

Declaration
public static T GetRequiredService<T>(this IServiceProvider<IGlobalService> serviceProvider) where T : class, IGlobalService
Parameters
Type Name Description
IServiceProvider<IGlobalService> serviceProvider
Returns
Type Description
T
Type Parameters
Name Description
T

GetRequiredService<T>(IServiceProvider<IProjectService>)

Declaration
public static T GetRequiredService<T>(this IServiceProvider<IProjectService> serviceProvider) where T : class, IProjectService
Parameters
Type Name Description
IServiceProvider<IProjectService> serviceProvider
Returns
Type Description
T
Type Parameters
Name Description
T