示例#1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void notify(org.camunda.bpm.engine.delegate.DelegateCaseVariableInstance variableInstance) throws Exception
        public virtual void notify(DelegateCaseVariableInstance variableInstance)
        {
            DelegateCaseVariableInstanceImpl variableInstanceImpl = (DelegateCaseVariableInstanceImpl)variableInstance;

            ScriptInvocation invocation = new ScriptInvocation(script, variableInstanceImpl.ScopeExecution);

            Context.ProcessEngineConfiguration.DelegateInterceptor.handleInvocation(invocation);
        }
示例#2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public void notify(org.camunda.bpm.engine.delegate.DelegateCaseExecution caseExecution) throws Exception
        public virtual void notify(DelegateCaseExecution caseExecution)
        {
            ScriptInvocation invocation = new ScriptInvocation(script, caseExecution);

            Context.ProcessEngineConfiguration.DelegateInterceptor.handleInvocation(invocation);
        }