public void AddFunction(string name, MethodInfo methodInfo, object targetObject) { Set(name, ContextFactory.CreateFunction(methodInfo, targetObject)); }
public void AddFunction(string name, MethodInfo methodInfo) { Set(name, ContextFactory.CreateFunction(methodInfo)); }
public void AddFunction(string name, Type type, string methodName) { Set(name, ContextFactory.CreateFunction(type, methodName)); }
public void AddFunction(string name, Type type, string methodName, object targetObject) { Set(name, ContextFactory.CreateFunction(type, methodName, targetObject)); }
public void AddType(string name, Type type) { Set(name, ContextFactory.CreateType(type)); }