Beispiel #1
0
        public static void Init()
        {
            if (null == _Runtime)
            {
                _Runtime = WorkflowHelper.CreateDefaultRuntime();

                ServiceLocator.RegisterInstanceExternalLifetime <WorkflowRuntime>(_Runtime);
                ServiceLocator.RegisterTypePerThread <IWorkflowHelper, WorkflowHelper>();
            }
        }