Пример #1
0
 public void CopyFuncs(InputContext target)
 {
     foreach (var kvp in Funcs)
     {
         target.DefineFuncFromExline(kvp.Key, kvp.Value);
     }
 }
Пример #2
0
 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);
 }