This project is read-only.

error

Mar 2, 2013 at 2:03 PM
Edited Mar 2, 2013 at 2:52 PM
hi,
i would add custom function from the .net framework like Math.Round

how can i add it??

thank you so much
Mar 4, 2013 at 1:27 PM
Take a look at the SystemFunctions class. It is where "built-in" functions such as sin and cos are defined. You need to implement three parts:
  • You must create the actual function itself. It is recommended that it be added to the SystemFunctions class.
  • You must create a wrapper for this function and put it into the SystemFunctions class.
  • You must register the function with a domain through the "AddBuiltInFunctions" of the Domain class (around line 319).
If you follow the same pattern found in the SystemFunctions class, you shouldn't have a problem.