public static void ReleaseInstance() { string Function_Name = "ReleaseInstance"; LogHelper.Trace(CLASS_NAME, Function_Name, "Function_Entered"); if (m_instance != null) { m_instance = null; } LogHelper.Trace(CLASS_NAME, Function_Name, "Function_Exited"); }
public static ConfigVarsDAO GetInstance() { string Function_Name = "GetInstance"; LogHelper.Trace(CLASS_NAME, Function_Name, "Function_Entered"); if (m_instance == null) { m_instance = new ConfigVarsDAO(); } LogHelper.Trace(CLASS_NAME, Function_Name, "Function_Exited"); return(m_instance); }