//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: @Override public void execute(org.camunda.bpm.engine.delegate.DelegateExecution execution) throws Exception public virtual void execute(DelegateExecution execution) { TransactionTemplate transactionTemplate = new TransactionTemplate(transactionManager); transactionTemplate.PropagationBehavior = TransactionTemplate.PROPAGATION_REQUIRED; transactionTemplate.execute(new TransactionCallbackAnonymousInnerClass(this)); }
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @SuppressWarnings("unchecked") public <T> T execute(final org.camunda.bpm.engine.impl.interceptor.Command<T> command) //JAVA TO C# CONVERTER WARNING: 'final' parameters are not available in .NET: public override T execute <T>(Command <T> command) { TransactionTemplate transactionTemplate = new TransactionTemplate(transactionManager); transactionTemplate.PropagationBehavior = transactionPropagation; T result = (T)transactionTemplate.execute(new TransactionCallbackAnonymousInnerClass(this, command)); return(result); }