MetalamaAPI documentationAspect APIMetalama.​Framework.​ServicesIService­Provider<TBase>
Open sandboxFocus

IServiceProvider<TBase> Interface

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>()