Пример #1
0
 public void AddFunction(string name, MethodInfo methodInfo, object targetObject)
 {
     this[name] = ContextFactory.CreateFunction(methodInfo, targetObject);
 }
Пример #2
0
 public void AddFunction(string name, Type type, string functionName, object targetObject)
 {
     this[name] = ContextFactory.CreateFunction(type, functionName, targetObject);
 }
Пример #3
0
 public void AddFunction(string name, MethodInfo methodInfo)
 {
     this[name] = ContextFactory.CreateFunction(methodInfo);
 }
Пример #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, MethodInfo methodInfo)
 {
     Set(name, ContextFactory.CreateFunction(methodInfo));
 }
Пример #7
0
 public void AddFunction(string name, Type type, string methodName, object targetObject)
 {
     Set(name, ContextFactory.CreateFunction(type, methodName, targetObject));
 }
Пример #8
0
 public void AddFunction(string name, Type type, string methodName)
 {
     Set(name, ContextFactory.CreateFunction(type, methodName));
 }