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