Beispiel #1
0
        public void RaiseRhsExpressionEvaluated(ISession session, Exception exception, Expression expression, object[] arguments, IMatch match)
        {
            var handler = RhsExpressionEvaluatedEvent;

            if (handler != null)
            {
                var @event = new RhsExpressionEventArgs(expression, exception, arguments, match);
                handler(session, @event);
            }
            _parent?.RaiseRhsExpressionEvaluated(session, exception, expression, arguments, match);
        }
Beispiel #2
0
        public void RaiseRhsExpressionEvaluated(ISession session, Exception exception, Expression expression, IArgumentMap argumentMap, Activation activation)
        {
            var handler = RhsExpressionEvaluatedEvent;

            if (handler != null)
            {
                var arguments = new ActivationExpressionArguments(argumentMap, activation);
                var @event    = new RhsExpressionEventArgs(expression, exception, arguments, activation);
                handler(session, @event);
            }
            _parent?.RaiseRhsExpressionEvaluated(session, exception, expression, argumentMap, activation);
        }