You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
346 B
C#
15 lines
346 B
C#
|
1 week ago
|
using Microsoft.Extensions.Configuration;
|
||
|
|
|
||
|
|
namespace Sln.Wcs;
|
||
|
|
|
||
|
|
internal class UpdateableConfigProvider : ConfigurationProvider, IConfigurationSource
|
||
|
|
{
|
||
|
|
public new void Set(string key, string value)
|
||
|
|
{
|
||
|
|
base.Set(key, value);
|
||
|
|
OnReload();
|
||
|
|
}
|
||
|
|
|
||
|
|
public IConfigurationProvider Build(IConfigurationBuilder builder) => this;
|
||
|
|
}
|