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

ProjectServiceProvider Class

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

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

Properties

Name Description
Global
Underlying

Methods

Name Description
GetRequiredService<T>()
GetService<T>()
ToString()
WithService(IProjectService, Boolean)
WithServices(IProjectService[])
WithServices(IEnumerable<IProjectService>)

Operators

Name Description
Implicit(in ProjectServiceProvider to GlobalServiceProvider)
Implicit(in ProjectServiceProvider to ServiceProvider<IProjectService>)
Implicit(ServiceProvider<IProjectService> to ProjectServiceProvider)