public abstract LookupProcedureByName ( string moduleName, string procName ) : Reko.Core.ExternalProcedure | ||
moduleName | string | |
procName | string | |
Результат | Reko.Core.ExternalProcedure |
public ExternalProcedure ResolveProcedure(string moduleName, string importName, Platform platform) { foreach (var module in project.MetadataFiles.Where(m => m.TypeLibrary != null)) { SystemService svc; if (module.TypeLibrary.ServicesByName.TryGetValue(importName, out svc)) { return new ExternalProcedure(svc.Name, svc.Signature, svc.Characteristics); } } return platform.LookupProcedureByName(moduleName, importName); }
public ExternalProcedure ResolveProcedure(string moduleName, string importName, Platform platform) { foreach (var module in project.MetadataFiles.Where(m => m.TypeLibrary != null)) { SystemService svc; if (module.TypeLibrary.ServicesByName.TryGetValue(importName, out svc)) { return(new ExternalProcedure(svc.Name, svc.Signature, svc.Characteristics)); } } return(platform.LookupProcedureByName(moduleName, importName)); }