Interface IConfigurationProvider
Contract for objects providing configuration values that needs to be passed to the IProjectConfiguration component at runtime.
Inherited Members
Namespace: Unity.Services.Core.Configuration.Editor
Assembly: Unity.Services.Core.Configuration.Editor.dll
Syntax
public interface IConfigurationProvider : IOrderedCallback
Remarks
Implementations must have a parameter-less constructor to be invoked.
Methods
OnBuildingConfiguration(ConfigurationBuilder)
Add configuration values to the given builder
.
Declaration
void OnBuildingConfiguration(ConfigurationBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
ConfigurationBuilder | builder | The builder used to create the runtime configuration data. Use it to set configuration values. |
Remarks
All configuration values stored in the builder
will
be persisted and included to the build in order to provide them to the
IProjectConfiguration component at runtime.