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

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