feat: added default valueless Get to IConfiguration for nullables
This commit is contained in:
@@ -15,7 +15,8 @@ public interface IConfiguration
|
||||
|
||||
bool Has(string key);
|
||||
object? Get(string key);
|
||||
T? Get<T>(string key, T? defaultValue = default);
|
||||
T Get<T>(string key, T defaultValue);
|
||||
T? Get<T>(string key);
|
||||
void Set<T>(string key, T value);
|
||||
void Remove<T>(string key);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user