Metalama / / API Documentation / Aspect API / Metalama.​Framework.​Services / IService­Provider<TBase>
Open sandbox

Interface IServiceProvider<TBase>

A strongly-typed variant of IServiceProvider that returns services for a given scope.

Namespace: Metalama.Framework.Services
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface IServiceProvider<TBase>
Type Parameters
Name Description
TBase

The base interface for the services in the scope.

Remarks

The generic interface is intentionally not variant.

Methods

Name Description
GetService<T>()