You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
452 B
17 lines
452 B
using System;
|
|
using TrashLib.Config;
|
|
|
|
namespace Trash.Config
|
|
{
|
|
internal class ConfigurationProvider : IConfigurationProvider
|
|
{
|
|
private IServiceConfiguration? _activeConfiguration;
|
|
|
|
public IServiceConfiguration ActiveConfiguration
|
|
{
|
|
get => _activeConfiguration ?? throw new NullReferenceException("Active configuration has not been set");
|
|
set => _activeConfiguration = value;
|
|
}
|
|
}
|
|
}
|