Class DiscoveryServiceCollectionExtensions.OptionsMonitorWrapper<T>
Inheritance
System.Object
DiscoveryServiceCollectionExtensions.OptionsMonitorWrapper<T>
Assembly: Steeltoe.Discovery.ClientCore.dll
Syntax
public class OptionsMonitorWrapper<T> : IOptionsMonitor<T>
Type Parameters
Constructors
|
Edit this page
View Source
OptionsMonitorWrapper(T)
Declaration
public OptionsMonitorWrapper(T option)
Parameters
Type |
Name |
Description |
T |
option |
|
Properties
|
Edit this page
View Source
CurrentValue
Declaration
public T CurrentValue { get; }
Property Value
Methods
|
Edit this page
View Source
Get(String)
Declaration
public T Get(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
|
Edit this page
View Source
OnChange(Action<T, String>)
Declaration
public IDisposable OnChange(Action<T, string> listener)
Parameters
Type |
Name |
Description |
Action<T, System.String> |
listener |
|
Returns
Type |
Description |
IDisposable |
|