TestExecutionCache.

TryGetValue(IDocument, string, Object) Method

Summary

Attempts to get a cached value from a document and string key.
Assembly
Wyam.Testing.dll
Namespace
Wyam.Testing.Caching
Containing Type
TestExecutionCache

Syntax

public bool TryGetValue(IDocument document, string key, out Object value)

Parameters

Name Type Description
document IDocument The document key.
key string The string key.
value Object The cached value.

Return Value

Type Description
bool true for a cache hit, false for a cache miss.
GitHub