mirror of
https://github.com/AlexMacocian/SystemExtensions.git
synced 2026-07-16 14:39:28 +00:00
Dependency Injection extensions
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace System.Extensions.Configuration
|
||||
{
|
||||
public interface IUpdateableOptions<out T> : IOptions<T>
|
||||
where T : class
|
||||
{
|
||||
/// <summary>
|
||||
/// Updates the configuration with the current value stored in <see cref="IOptions{TOptions}.Value"/>.
|
||||
/// </summary>
|
||||
void UpdateOption();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user