public static void AddBaseListPageInstance(string key, BaseListPage instance) { if (!BaseListPageMap.ContainsKey(key)) { BaseListPageMap.Add(key, instance); } }
public static bool IfContainsPageInstance(string key) { return(BaseListPageMap.ContainsKey(key)); }
public static BaseListPage GetPageInstance(string key) { return(BaseListPageMap.ContainsKey(key) ? BaseListPageMap[key] : null); }