Beispiel #1
0
        /// <summary>
        /// Initialize,instantiate xshellManager and stateMachine
        /// </summary>
        public void Initialize(IRemoteMethodInvoker remoteInvoker)
        {
            IStateMachine stateMachine = new DefaultStateMachineFactory().CreateStateMachineFromXml(stateMachineConfigXml);

            _stateMachine  = stateMachine as DefaultStateMachine;
            _xshellManager = XShellManager.GetInstance();
            _xshellManager.Initialize(remoteInvoker);
            _xshellManager._remoteInvoker.RegisterServiceObject <IWorkflow>(this);
        }
Beispiel #2
0
 /// <summary>
 /// construct
 /// </summary>
 public ActionBase()
 {
     xshellManager = XShellManager.GetInstance();
 }