/// <summary> /// Constracor /// </summary> public Processor() { ProcessorQueue = new ProcessorQueue(); impersonate = new Impersonation(); impersonate.ImpersonationLogonType = WorkflowEngine.Common.Security.ImpersonationLogonType.LOGON32_LOGON_NEW_CREDENTIALS; if (Utils.PROCESSOR_COUNT > 1 && EngineConfiguration.UsePipelinedOnMulticore) executor = new PipelinedExecutor(); else executor = new SequentialExecutor(); }
public StepExecutor() { impersonate = new Impersonation(); impersonate.ImpersonationLogonType = WorkflowEngine.Common.Security.ImpersonationLogonType.LOGON32_LOGON_NEW_CREDENTIALS; }