Interface ISnapshotContext
-
public interface ISnapshotContext
This is the context passed to plugins. This allows for the data of a context to be exposed to the plugin in a controlled manor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
evaluateExpression(String expression)
Evaluate an expression in the frame of the tracepoint that triggered this snapshot.IReflection
reflectionService()
Get the current reflection service.
-
-
-
Method Detail
-
evaluateExpression
String evaluateExpression(String expression) throws EvaluationException
Evaluate an expression in the frame of the tracepoint that triggered this snapshot.- Parameters:
expression
- the express to evaluate- Returns:
- the result of the expression as a string
- Throws:
EvaluationException
- if there were any issues evaluating the expression
-
reflectionService
IReflection reflectionService()
Get the current reflection service.- Returns:
- the active reflection service.
-
-