Input/Output arguments
Last updated
Last updated
The Input and output arguments (sometimes referred as parameters) are used to specify the inputs and outputs for a module.
There is a strongly typed API to open modules and provide arguments.
In order to Add, Edit or Remove the the arguments for a module, you will find a button in the Menu of TimeLine Developer:
There you can Add, Edit or Remove the arguments. You must specify a name and type for your argument. Each type has a set of options (e.g. Default value, Nullable, Comment etc.) that you can set depending on your needs. These arguments can use standard .NET primitive types (int, string, double etc), DataTables, typed DataSets, typed DataSet rows, typed Enums or generic objects.
This arguments editor changes the TLAppContent.xml
file and generates the strongly typed TimeLine.AppContent
assembly.
Example of setting the input arguments:
To use these input arguments use the WHO PostOpen
method and check the this.RetrievalArguments
property:
Example of using the output parameters:
The output will be of type void
or new TimeLine.AppContent.WHO.[ModuleName].Output
of an tag is present in the TLAppContent.xml
file.