/// <summary> /// Substitute for the constructor to allow KCM to be created /// appropriately by the WM. /// </summary> public void Initialize(WorkspaceManager wm, KasCommunicationManager kcm) { m_wm = wm; m_kcm = kcm; }
public WmStateMachine(WorkspaceManager wm) { m_wm = wm; m_wkb = new WmKcmBroker(); m_kcm = new KasCommunicationManager(m_wkb, HandleKcmCompletion); m_wkb.Initialize(m_wm, m_kcm); m_wakeupTimer.TimerWakeUpCallback = HandleTimerWakeUp; m_lastSerializationDate = DateTime.Now; }