The book of inspiration

June 18, 2009

new example: ExposedFunctions

Filed under: jsc — Tags: — zproxy @ 8:28 pm

I have prepared an example to demonstrate how to expose your C# coded function for scripting.

ExposedFunctions
[source:svn]

Read the commented source code of that project for better understanding.

The short anwser to the problem looks like this:

31 [Script(NoDecoration = true)]

32 public static void ExposedFunctions_AddData1(Data1 e)

Advertisements

Create a free website or blog at WordPress.com.