DotNet Function

Top Previous Topic Next Topic  Print this topic

Data Aggregation Server supports calling a function from a .NET assembly to customize your data processing.

 

 

<das:dotnet-function id="fct1" assembly-name="TestAssembly.dll" class-name="TestAssembly.TestFunction">

       <das:in-param name="param1" src="fld1"/>

       <das:in-param name="param2" src="fld2"/>

       <das:return-value id="ret1"/>

</das:dotnet-function>

 

 

 

Attributes:

id - unique identifier of this resource in the current processing job.

assembly-name - the name of the function assembly.

class-name - the name of the class that contains the function which will be invoked.

 

Note: The class must implement the IFunction interface which can be found in the Ecrion.DAS.Interfaces.NET assembly. A reference to this assembly must be added in your .NET code.

 

dotnet_function

 

 

Children elements:

 

<das:in-param> - specifies the source and name of the function parameter.

<das:return-value> - specifies the id from which the result value of the function will be referenced in the current job.