Metalama 1.0 / / Metalama Documentation / Advanced API / Metalama.​Framework.​Engine.​Services

Namespace Metalama.Framework.Engine.Services

Classes

GlobalServiceProvider

Gives access to globally scoped services. A wrapper around ServiceProvider<TBase> for IGlobalService.

ProjectServiceProvider

Gives access to project-scoped services. A wrapper around ServiceProvider<TBase> for IProjectService.

ServiceProvider

A non-generic base class for ServiceProvider<TBase>.

ServiceProvider<TBase>

An immutable implementation of IServiceProvider that will index services that implement the TBase interface. When a service is added to a ServiceProvider<TBase>, an mapping is created between the type of this object and the object itself, but also between the type of any interface derived from TBase and implemented by this object.

Interfaces

IAdditionalServiceCollection

A set of mocks or services injected into the production service providers.

ICompilationServices