Summary
Checks if the document and string key is in the cache.
- Assembly
- Wyam
.Testing .dll - Namespace
- Wyam
.Testing .Caching - Containing Type
- TestExecutionCache
Syntax
public bool ContainsKey(IDocument document, string key)
Parameters
| Name | Type | Description |
|---|---|---|
| document | IDocument | The document key. |
| key | string | The string key. |
Return Value
| Type | Description |
|---|---|
| bool | true if the key is in the cache, false otherwise. |
