// public string ClassAdd(HttpRequest Request, HttpResponse Response) { string strGradeID = Request["gradeid"]; strGradeID = DicCache.getInstance().getCode("DIC_GRADE", strGradeID); return(person.StuClass.ClassAdd(Request["txtXML"])); }
/// <summary> /// 获得字典缓存的实例 /// </summary> /// <returns>字典缓存的实例</returns> public static DicCache getInstance() { if (m_obj_DicCache==null) { m_obj_DicCache = new DicCache(); } return m_obj_DicCache; }
/// <summary> /// 获得字典缓存的实例 /// </summary> /// <returns>字典缓存的实例</returns> public static DicCache getInstance() { if (m_obj_DicCache == null) { m_obj_DicCache = new DicCache(); } return(m_obj_DicCache); }
public DicCache() { try { if (m_obj_DicCache == null) init(); } catch (Exception e) { m_obj_DicCache = null; } }
public DicCache() { try { if (m_obj_DicCache == null) { init(); } } catch (Exception e) { m_obj_DicCache = null; } }