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