Metalama//API Documentation/Aspect API/Metalama.​Framework.​Project/Service­Provider­Extensions
Open sandboxFocus

Class ServiceProviderExtensions

Provides extensions methods to the IServiceProvider interface.

Inheritance
ServiceProviderExtensions
Namespace: Metalama.Framework.Project
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public static class ServiceProviderExtensions : Object

Methods

Name Description
GetRequiredService<T>(IServiceProvider<IGlobalService>)
GetRequiredService<T>(IServiceProvider<IProjectService>)

See Also