MetalamaAPI documentationAdvanced APIMetalama.​Framework.​Engine.​ServicesGlobal­Service­Provider
Open sandboxFocus

GlobalServiceProvider Class

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

Inheritance
System.Object
GlobalServiceProvider
Namespace: Metalama.Framework.Engine.Services
Assembly: Metalama.Framework.Sdk.dll
Syntax
public sealed class GlobalServiceProvider : ValueType

Properties

Name Description
Underlying

Methods

Name Description
GetRequiredService<T>()
GetService<T>()
ToString()
WithService(IGlobalService)
WithServices(IGlobalService[])

Operators

Name Description
Implicit(GlobalServiceProvider to ServiceProvider<IGlobalService>)
Implicit(ServiceProvider<IGlobalService> to GlobalServiceProvider)