Gives access to project-scoped services. A wrapper around ServiceProvider<TBase> for IProjectService.
Namespace: Metalama.Framework.Engine.Services
Assembly: Metalama.Framework.Sdk.dll
Syntax
public readonly struct ProjectServiceProvider
Properties
Name | Description |
---|---|
Global | |
Underlying |
Methods
Name | Description |
---|---|
GetRequiredService<T>() | |
GetService<T>() | |
ToString() | |
WithService(IProjectService, bool) | |
WithServices(params IProjectService[]) | |
WithServices(IEnumerable<IProjectService>) |