Create object
Create an object of a type of the open assembly and keep it in the session by a name, for Call method (G4).
Command in the .NET, Java and COM toolkit · id ooa.dotnet/create_object · 6 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | dotnet | Name of the .NET session, from Open assembly. |
| Type | String | Yes | Full type name, with its namespace. | |
| Object name | String | No | object | Name the object is kept by. |
| Arguments | List | No | Constructor arguments in order. | |
| Argument types | List | No | The type of each argument, in order: auto, text, int, long, double, decimal, bool, byte, datetime, bytes (base64), text_list, number_list, list or dictionary. | |
| Named arguments | Dictionary | No | Arguments by their parameter names, after the ones in order. |