Пример #1
0
 public static void RegisterStaticObject(string Name, Library Lib)
 {
     if (!StaticLibraries.ContainsKey(Name))
     {
         StaticLibraries.Add(Name, Lib);
     }
 }
Пример #2
0
 public static void RegisterLibrary(string name, Library Lib)
 {
     if (!Defined.ContainsKey(name))
     {
         Defined.Add(name, Lib);
     }
 }
Пример #3
0
 public static void RegisterTypeByName(string Name, Type Type, Library Lib)
 {
     if (!TypeLibsByName.ContainsKey(Name) && !TypeLibs.ContainsKey(Type))
     {
         TypeLibs.Add(Type, Lib);
         TypeLibsByName.Add(Name, Lib);
     }
 }