/// <summary> /// Creates a new object of the given Type. /// </summary> /// <param name="typeName"> Name of the type from this assembly. </param> /// <returns> Returns new object. </returns> public JDNObject create(string typeName) { JDNType type = getType(typeName); return(type.create()); }
/// <summary> /// Creates a new object of the given Type and parameters. /// </summary> /// <param name="typeName"> Name of the type from this assembly. </param> /// <param name="parameters"> Parameters used in constructor. </param> /// <returns> Returns new object. </returns> public JDNObject create(string typeName, object[] parameters) { JDNType type = getType(typeName); return(type.create(parameters)); }