Open sandboxFocus

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

Extension Methods