public static void RegisterStaticObject(string Name, Library Lib) { if (!StaticLibraries.ContainsKey(Name)) { StaticLibraries.Add(Name, Lib); } }
public static void RegisterLibrary(string name, Library Lib) { if (!Defined.ContainsKey(name)) { Defined.Add(name, Lib); } }
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); } }