public override void Reflect(bool full, Dictionary <string, DTypeDesc> /*!*/ types, Dictionary <string, DRoutineDesc> /*!*/ functions, DualDictionary <string, DConstantDesc> /*!*/ constants) { if (AutoPopulate()) { return; } // types: ClrModule.ReflectTypes(this.Assembly.RealAssembly, types); // TODO: // functions and global constants: foreach (Module module in this.Assembly.RealAssembly.GetModules()) { //ClrTypeDesc.ReflectMethods(module.GetMethods(), globalType.TypeDesc, // delegate(Name name, ClrMethodDesc/*!*/ function) { functions.Add(name.Value, function); }); } }
/// <summary> /// Called by the loader. /// </summary> internal ClrAssembly(ApplicationContext /*!*/ applicationContext, Assembly /*!*/ realAssembly, LibraryConfigStore configStore) : base(applicationContext, realAssembly) { this.module = new ClrModule(this); }