Пример #1
0
 public void AddFunction(string name, Type type, string methodName, object targetObject)
 {
     this.Set <object>(name, ContextFactory.CreateFunction(type, methodName, targetObject));
 }
Пример #2
0
 public void AddType(string name, Type type)
 {
     this.Set <object>(name, ContextFactory.CreateType(type));
 }
Пример #3
0
 public void AddFunction(string name, MethodInfo methodInfo, object targetObject)
 {
     this.Set <object>(name, ContextFactory.CreateFunction(methodInfo, targetObject));
 }