TestimoX

API Reference

Class

RuleResultCache

Namespace TestimoX.Caching
Assembly TestimoX

In-memory cache for rule execution results.

Inheritance

  • Object
  • RuleResultCache

Constructors

Methods

public Void Set(String key, RuleComplete result) #
Returns: Void

Stores the result for the specified rule key.

Parameters

key System.String requiredposition: 0
result TestimoX.Definitions.RuleComplete requiredposition: 1
public Boolean TryGet(String key, out RuleComplete result) #
Returns: Boolean

Attempts to get a cached result for the specified rule.

Parameters

key System.String requiredposition: 0
result TestimoX.Definitions.RuleComplete@ requiredposition: 1