Exemplo n.º 1
0
 public static void AddResources(string key, ENRZDataContext <SimpleImgModel> value)
 {
     if (!ListResourcesMap.ContainsKey(key))
     {
         ListResourcesMap.Add(key, value);
     }
 }
Exemplo n.º 2
0
 public static bool IfContainsResources(string key)
 {
     return(ListResourcesMap.ContainsKey(key));
 }
Exemplo n.º 3
0
 public static ENRZDataContext <SimpleImgModel> GetResources(string key)
 {
     return(ListResourcesMap.ContainsKey(key) ? ListResourcesMap[key] : null);
 }