Пример #1
0
 public void AddFunction(string name, MethodInfo methodInfo)
 {
     this[name] = ContextFactory.CreateFunction(methodInfo);
 }
Пример #2
0
 public void AddFunction(string name, MethodInfo methodInfo, object targetObject)
 {
     this[name] = ContextFactory.CreateFunction(methodInfo, targetObject);
 }
Пример #3
0
 public void AddFunction(string name, Type type, string functionName, object targetObject)
 {
     this[name] = ContextFactory.CreateFunction(type, functionName, targetObject);
 }
Пример #4
0
 public void AddFunction(string name, Type type, string functionName)
 {
     this[name] = ContextFactory.CreateFunction(type, functionName);
 }
Пример #5
0
 public void AddFunction <T>(string name, string functionName, T targetObject)
 {
     this[name] = ContextFactory.CreateFunction(typeof(T), functionName, targetObject);
 }
Пример #6
0
 public void AddFunction(string name, Type type, string methodName, object targetObject)
 {
     this.Set <object>(name, ContextFactory.CreateFunction(type, methodName, targetObject));
 }
Пример #7
0
 public void AddFunction(string name, MethodInfo methodInfo)
 {
     this.Set <object>(name, ContextFactory.CreateFunction(methodInfo));
 }