Created
October 11, 2016 01:01
-
-
Save toptensoftware/94425dc3f12ee9be593d81821b1c6936 to your computer and use it in GitHub Desktop.
Resolving Referenced Modules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Recursively call self (ModuleManager) to load each referenced module | |
| foreach (var m in nativeModule.GetReferencedModules()) | |
| { | |
| LoadModule(m); | |
| } | |
| // elsewhere... | |
| // Module16 implements GetReferencedModules by reading the list from the NE file reader | |
| class Module16 : ModuleBase | |
| { | |
| public IEnumerable<string> GetReferencedModules() | |
| { | |
| return _neFile.ModuleReferenceTable; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment