コード例 #1
0
        public virtual object getValue(VariableContext variableContext)
        {
            if (Context.CommandContext == null)
            {
                throw new ProcessEngineException("Expression can only be evaluated inside the context of the process engine");
            }

            ELContext context = Context.ProcessEngineConfiguration.ExpressionManager.createElContext(variableContext);

            return(valueExpression.getValue(context));
        }
コード例 #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: protected void invoke() throws Exception
        protected internal override void invoke()
        {
            invocationResult = valueExpression.getValue(elContext);
        }