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.
wcs_core/Sln.Wcs/Provider/UpdateableConfigProvider.cs

15 lines
346 B
C#

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;
}