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

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)

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. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.