TestExecutionCache Class

Summary

A test cache that always misses.
Assembly
Wyam.Testing.dll
Namespace
Wyam.Testing.Caching
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IExecutionCache"] click Interface0 "/api/Wyam.Common.Caching/IExecutionCache" Type["TestExecutionCache"] class Type type-node

Syntax

public class TestExecutionCache : IExecutionCache

Methods

Name Value Summary
ContainsKey(IDocument) bool
Checks if the document key is in the cache.
ContainsKey(IDocument, string) bool
Checks if the document and string key is in the cache.
ContainsKey(string) bool
Checks if the string key is in the cache.
Set(IDocument, Object) void
Sets a cached value from a document key.
Set(IDocument, string, Object) void
Sets a cached value from a document and string key.
Set(string, Object) void
Sets a cached value from a document key.
TryGetValue(IDocument, Object) bool
Attempts to get a cached value from a document key.
TryGetValue(IDocument, string, Object) bool
Attempts to get a cached value from a document and string key.
TryGetValue(string, Object) bool
Attempts to get a cached value from a string key.
TryGetValue<TValue>(IDocument, string, TValue) bool
Attempts to get a typed cached value from a document and string key.
TryGetValue<TValue>(IDocument, TValue) bool
Attempts to get a typed cached value from a document key.
TryGetValue<TValue>(string, TValue) bool
Attempts to get a typed cached value from a string key.
GitHub