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

1 Comment

  1. […] Filed under: jsc — Tags: javascript — zproxy @ 12:03 pm Today I have extended the ExposedFunctions example. In our scenario we have written a javascript library in c# with jsc and we would like to consume […]

    Pingback by updated example: ExposedFunctions « c# to javascript, actionscript — June 28, 2009 @ 12:05 pm


RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Create a free website or blog at WordPress.com.

%d bloggers like this: