public void CopyFuncs(InputContext target) { foreach (var kvp in Funcs) { target.DefineFuncFromExline(kvp.Key, kvp.Value); } }
public void Inject(InputContext context, string asname) { // TODO: either of these approaches should work, need to // spend some time thinking about which is better foreach (KeyValuePair <string, Exline> kvp in Funcs) { context.DefineFuncFromExline(kvp.Key, kvp.Value); } //LibraryUtility.DefaultInject(this, context, asname); }