Interface ISingleValueCache<V>
Inherited Members
Namespace: LaunchDarkly.Cache
Assembly: LaunchDarkly.Cache.dll
Syntax
public interface ISingleValueCache<V> : IDisposable
Type Parameters
Name | Description |
---|---|
V |
Properties
HasValue
Declaration
bool HasValue { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
Clear()
Declaration
void Clear()
Get()
Declaration
V Get()
Returns
Type | Description |
---|---|
V |
Set(V)
Declaration
void Set(V value)
Parameters
Type | Name | Description |
---|---|---|
V | value |
TryGetValue(out V)
Declaration
bool TryGetValue(out V value)
Parameters
Type | Name | Description |
---|---|---|
V | value |
Returns
Type | Description |
---|---|
bool |