Summary
Attempts to get a typed cached value from a string key.
- Assembly
- Wyam
.Testing .dll - Namespace
- Wyam
.Testing .Caching - Containing Type
- TestExecutionCache
Syntax
public bool TryGetValue<TValue>(string key, out TValue value)
Type Parameters
Name | Description |
---|---|
TValue | The type of the cached value. |
Parameters
Name | Type | Description |
---|---|---|
key | string | The string key. |
value | TValue | The cached value. |
Return Value
Type | Description |
---|---|
bool | true for a cache hit, false for a cache miss. |