Summary
Attempts to get a cached value from a document key.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Caching - Containing Type
- IExecutionCache
Syntax
bool TryGetValue(IDocument document, out Object value)
Parameters
| Name | Type | Description |
|---|---|---|
| document | IDocument | The document key. |
| value | Object | The cached value. |
Return Value
| Type | Description |
|---|---|
| bool | true for a cache hit, false for a cache miss. |
