예제 #1
0
 public void Initialize(bool isThreadedListenerEnabled = true, 
                        bool isSchedulerEnabled = true, 
                        bool isWebApiEnabled = true)
 {
     engineHostCompositionRoot = new EngineHostCompositionRoot(AssembliesWithJobs) {
         IsWebApiEnabled = isWebApiEnabled,
         IsSchedulerEnabled = isSchedulerEnabled,
         IsMessageQueueListenerManagerEnabled = isThreadedListenerEnabled,
     };
     engineHostCompositionRoot.Configure();
 }
예제 #2
0
 public void Initialize(bool isThreadedListenerEnabled = true,
                        bool isSchedulerEnabled        = true,
                        bool isWebApiEnabled           = true)
 {
     engineHostCompositionRoot = new EngineHostCompositionRoot(AssembliesWithJobs)
     {
         IsWebApiEnabled    = isWebApiEnabled,
         IsSchedulerEnabled = isSchedulerEnabled,
         IsMessageQueueListenerManagerEnabled = isThreadedListenerEnabled,
     };
     engineHostCompositionRoot.Configure();
 }