Beispiel #1
0
 public void AddFunction(string name, MethodInfo methodInfo, object targetObject)
 {
     Set(name, ContextFactory.CreateFunction(methodInfo, targetObject));
 }
Beispiel #2
0
 public void AddFunction(string name, MethodInfo methodInfo)
 {
     Set(name, ContextFactory.CreateFunction(methodInfo));
 }
Beispiel #3
0
 public void AddFunction(string name, Type type, string methodName)
 {
     Set(name, ContextFactory.CreateFunction(type, methodName));
 }
Beispiel #4
0
 public void AddFunction(string name, Type type, string methodName, object targetObject)
 {
     Set(name, ContextFactory.CreateFunction(type, methodName, targetObject));
 }
Beispiel #5
0
 public void AddType(string name, Type type)
 {
     Set(name, ContextFactory.CreateType(type));
 }