예제 #1
0
        /// <summary>
        /// engine construcor
        /// </summary>
        /// <remarks>
        /// <list type="bullet">
        /// <item>
        /// internal so that caller follows fluent construction
        /// starting with <see cref="CreateEngine(WorkDefine.Workflow)"/>
        /// </item>
        /// </list>
        /// </remarks>
        /// <param name="workFlow">workflow definition</param>
        internal Engine(Configuration.Config config)
        {
            this.Configuration         = config;
            this.Tracer                = new EngineStepTracer(new ActivityProcess("CreateEngine", ActivityStatusOptions.Engine_Loading, null));
            this.ImplementationManager = new ImplementationManager <TModel>(this.Configuration);



            this.GlobalCache = config.Cache;

            this.Sanitized = false;
        }
예제 #2
0
 internal LogicTestDefintionFactory(Configuration.Config config)
 {
     this.config = config;
 }
예제 #3
0
 public LogicTestEvaluatorFactory(Case testCase, Configuration.Config configuration)
 {
     this.TestCase      = testCase;
     this.configuration = configuration;
 }
예제 #4
0
 internal ImplementationManager(Configuration.Config configuration) : this()
 {
     this.Configuration = configuration;
 }
예제 #5
0
 public FakeImplementationManager(Case testCase, WorkDefine.Workflow workflow, Configuration.Config configuration)
 {
     this.workFlow      = workflow;
     this.configuration = configuration;
     this.ef            = new LogicTestEvaluatorFactory(testCase, this.configuration);
     this.af            = new LogicTestActionFactory();
     this.df            = new LogicTestDefintionFactory(this.configuration);
 }
예제 #6
0
 public WorkflowManager(WorkDefine.Workflow workFlow, Configuration.Config config)
 {
     this.WorkFlow = workFlow;
     this.config   = config;
 }