Summary
This manages the configuration keys you load as well as watching live keys and allowing you to add or update keys.
- Namespace
- CondenserDotNet
.Configuration .Consul - Interfaces
-
- I
Configuration Registry - IDisposable
- I
- Base Types
-
- object
graph TD
Base0["object"]-->Type
Interface0["IConfigurationRegistry"]-.->Type
click Interface0 "/CondenserDocs/api/CondenserDotNet.Configuration/IConfigurationRegistry"
Interface1["IDisposable"]-.->Type
Type["ConsulRegistry"]
class Type type-node
Syntax
public class ConsulRegistry : IConfigurationRegistry, IDisposable
Constructors
Properties
| Name | Value | Summary |
|---|---|---|
| AllKeys | IEnumerable |
This returns a flattened list of all the loaded keys
|
| Builder | ConfigurationBuilder | |
| Root | IConfigurationRoot | |
| this[string] | string |
Methods
| Name | Value | Summary |
|---|---|---|
| Add |
Task |
This loads the keys from a path. They are not updated.
|
| AddUpdatingPathAsync |
Task |
This loads the keys from a path. The path is then watched and updates are added into the configuration set
|
| Add |
void | |
| AddWatchOnSingleKey |
void | |
| Dispose |
void | |
| SetKeyAsync |
Task |
This allows you to set a configuration key
|
| Strip |
string |
static
|
| TryGetValue |
bool |
Extension Methods
| Name | Value | Summary |
|---|---|---|
| SetKeyJsonAsync |
Task |
