Table of Contents

Class ExpressionEventArgs

Namespace
NRules.Diagnostics
Assembly
NRules.dll

Information related to expression evaluation events.

public class ExpressionEventArgs : EventArgs
Inheritance
ExpressionEventArgs
Derived
Inherited Members

Constructors

ExpressionEventArgs(Expression, Exception?, object[], object?)

Initializes a new instance of the ExpressionEventArgs class.

public ExpressionEventArgs(Expression expression, Exception? exception, object[] arguments, object? result)

Parameters

expression Expression

Expression that caused the event.

exception Exception

Exception thrown during expression evaluation.

arguments object[]

Arguments passed to expression during evaluation.

result object

Result of expression evaluation.

Properties

Arguments

Arguments passed to the expression during evaluation.

public virtual IReadOnlyCollection<object?> Arguments { get; }

Property Value

IReadOnlyCollection<object>

Exception

Exception thrown during expression evaluation.

public Exception? Exception { get; }

Property Value

Exception

Expression

Expression that caused the event;

public Expression Expression { get; }

Property Value

Expression

Result

Result of expression evaluation.

public object? Result { get; }

Property Value

object