Beispiel #1
0
 public void AddFunction(string name, MethodInfo methodInfo)
 {
     this[name] = ContextFactory.CreateFunction(methodInfo);
 }
Beispiel #2
0
 public void AddFunction(string name, MethodInfo methodInfo, object targetObject)
 {
     this[name] = ContextFactory.CreateFunction(methodInfo, targetObject);
 }
Beispiel #3
0
 public void AddFunction(string name, Type type, string functionName)
 {
     this[name] = ContextFactory.CreateFunction(type, functionName);
 }
Beispiel #4
0
 public void AddFunction(string name, Type type, string functionName, object targetObject)
 {
     this[name] = ContextFactory.CreateFunction(type, functionName, targetObject);
 }
Beispiel #5
0
 public void AddType <T>()
 {
     this[typeof(T).Name] = ContextFactory.CreateType(typeof(T));
 }
Beispiel #6
0
 public void AddFunction <T>(string name, string functionName, T targetObject)
 {
     this[name] = ContextFactory.CreateFunction(typeof(T), functionName, targetObject);
 }
Beispiel #7
0
 public void AddType(string name, Type t)
 {
     this[name] = ContextFactory.CreateType(t);
 }
Beispiel #8
0
 public void AddType <T>(string name)
 {
     this[name] = ContextFactory.CreateType(typeof(T));
 }
Beispiel #9
0
 public void AddType(Type t)
 {
     this[t.Name] = ContextFactory.CreateType(t);
 }
Beispiel #10
0
 public void AddFunction(string name, MethodInfo methodInfo)
 {
     Set(name, ContextFactory.CreateFunction(methodInfo));
 }
Beispiel #11
0
 public void AddFunction(string name, Type type, string methodName, object targetObject)
 {
     Set(name, ContextFactory.CreateFunction(type, methodName, targetObject));
 }
Beispiel #12
0
 public void AddFunction(string name, Type type, string methodName)
 {
     Set(name, ContextFactory.CreateFunction(type, methodName));
 }
Beispiel #13
0
 public void AddType(string name, Type type)
 {
     Set(name, ContextFactory.CreateType(type));
 }