Class LhsExpressionErrorEventArgs
- Namespace
- NRules.Diagnostics
- Assembly
- NRules.dll
Information related to error events raised during left-hand side expression evaluation.
public class LhsExpressionErrorEventArgs : LhsExpressionEventArgs, IRecoverableError
- Inheritance
-
LhsExpressionErrorEventArgs
- Implements
- Inherited Members
Constructors
LhsExpressionErrorEventArgs(Expression, Exception?, object[], ITuple?, IFact?, IEnumerable<IRuleDefinition>)
Initializes a new instance of the LhsExpressionErrorEventArgs class.
public LhsExpressionErrorEventArgs(Expression expression, Exception? exception, object[] arguments, ITuple? tuple, IFact? fact, IEnumerable<IRuleDefinition> rules)
Parameters
expressionExpressionExpression related to the event.
exceptionExceptionException related to the event.
argumentsobject[]Expression arguments.
tupleITupleTuple related to the event.
factIFactFact related to the event.
rulesIEnumerable<IRuleDefinition>Rules that contain the expression that generated the event.
Properties
IsHandled
Flag that indicates whether the exception was handled.
If handler sets this to true then engine continues execution,
otherwise exception is rethrown and terminates engine's execution.
public bool IsHandled { get; set; }