public SystemManager (SysConfigMgrAccess sysConfig, DataSourceAccess dataSourceAccess) { //create case handler with IDAL CaseHandler m_caseHandler = new CaseHandler(sysConfig, dataSourceAccess); //create system mode manager with ISysConfig and IDAL and case handler SysModeManager m_sysModeMgr = new SysModeManager(sysConfig, dataSourceAccess, m_caseHandler); //create system manager interface with System mode manager SysMgrAccess = new SystemManagerAccess(m_sysModeMgr); }
internal SysModeManager (SysConfigMgrAccess sysConfig, DataSourceAccess dataSourceAccess, CaseHandler handler) { m_SysConfig = sysConfig; m_DataSourceAccess = dataSourceAccess; m_caseHandler = handler; m_LinkedCaseID = string.Empty; m_LinkedCaseSource = string.Empty; //m_PreviousCaseId = string.Empty; //register an event handler with System Configuration Manager to get notified //when configuration is modified. }
public CaseHandler (SysConfigMgrAccess sysConfigMgrAccess, DataSourceAccess dataAccessLayer) { m_SysConfigMgrAccess = sysConfigMgrAccess; m_dataSourceAccess = dataAccessLayer; m_caseCollection = new CaseCollection(); }
public DataSource (SysConfigMgrAccess sysConfigMgrAccess) { m_CaseSourceManager = new CaseSourceManager(sysConfigMgrAccess); m_DataAccessInterface = new DataSourceAccess(m_CaseSourceManager); }
public DataSource(SysConfigMgrAccess sysConfigMgrAccess) { m_CaseSourceManager = new CaseSourceManager(sysConfigMgrAccess); m_DataAccessInterface = new DataSourceAccess(m_CaseSourceManager); }