/// <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); }
/// <summary> /// construct /// </summary> public ActionBase() { xshellManager = XShellManager.GetInstance(); }