예제 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Before public void replaceJobExecutor() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
        public virtual void replaceJobExecutor()
        {
            ProcessEngineConfigurationImpl processEngineConfiguration = engineRule.ProcessEngineConfiguration;

            defaultJobExecutor = processEngineConfiguration.JobExecutor;
            jobExecutor        = new CountingJobExecutor(this);
            processEngineConfiguration.JobExecutor = jobExecutor;
        }
예제 #2
0
        public virtual void ReplaceJobExecutor()
        {
            var processEngineConfiguration = EngineRule.ProcessEngineConfiguration;

            DefaultJobExecutor = processEngineConfiguration.JobExecutor;
            jobExecutor        = new CountingJobExecutor(this);
            processEngineConfiguration.SetJobExecutor(jobExecutor);
        }