Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
9Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
ScriptSharp-v0.4.2

ScriptSharp-v0.4.2

Ratings:

4.0

(1)
|Views: 3,587|Likes:
Published by Carlos
A document describing the Script# project and how to use it to write advanced JavaScipt code using C#
A document describing the Script# project and how to use it to write advanced JavaScipt code using C#

More info:

Published by: Carlos on Mar 29, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/10/2014

pdf

text

original

 
 
http://projects.nikhilk.net 
Script#
Version 0.4.2.0September 11, 2007
Copyright © 2007, Nikhil Kothari. All Rights Reserved.
 
 http://projects.nikhilk.net Version 0.4.2.02Introduction
Table of Contents
Introduction .................................................................................................................................................. 5What can you build with Script#? ............................................................................................................. 5Script# 101 .................................................................................................................................................... 7The Hello World Application (Using Scriptlets for Script Code-behind) ................................................... 7Building a Script Component in a Script# Class Library .......................................................................... 18Summary ................................................................................................................................................. 22The Script# Framework ............................................................................................................................... 23Script Type System and Base Class Library ............................................................................................. 23Script# Framework .................................................................................................................................. 23Core Programming Model, Networking, and UI Concepts - ssfx.Core.dll ........................................... 23Cross-Domain AJAX using JSONP - ssfx.XDAjax.dll .............................................................................. 24UI Controls and Behaviors - ssfx.UI.Forms.dll ..................................................................................... 24Reflection Utility - ssfx.Reflection.dll .................................................................................................. 24Microsoft Silverlight XAML DOM - ssagctrl.dll .................................................................................... 24Microsoft Virtual Earth APIs - ssve4.dll ............................................................................................... 24Windows Vista Sidebar Gadgets - ssgadgets.dll ................................................................................. 24File System APIs - ssfso.dll .................................................................................................................. 24RSS Feeds - ssfeeds.dll ........................................................................................................................ 24Naming Convention ................................................................................................................................ 25Using Script# with Microsoft ASP.NET AJAX ............................................................................................... 25Differences and Limitations .................................................................................................................... 25Importing Existing Script Libraries and Scriptable APIs .............................................................................. 26Native Scriptable Objects and ActiveX Controls ................................................................................. 26Existing Script Libraries ....................................................................................................................... 28A Deeper Look at the Script# System .......................................................................................................... 29How Script# Works? ................................................................................................................................ 29Components and Layers.......................................................................................................................... 30Script Runtime Choice ............................................................................................................................. 31Using Script# ........................................................................................................................................... 31Script Components and Libraries ........................................................................................................ 31Scriptlets ............................................................................................................................................. 32
 
to Execute Code and Perform JSON Deserialization?............................................................ 35Using alert, prompt and Related Methods ............................................................................................. 35Performing Late-bound Member Access ................................................................................................ 36Deleting a Field from an Object .............................................................................................................. 37Enumerating Members of an Object ...................................................................................................... 37Retrieving the Native Script Type of an Object ....................................................................................... 37Defining and Implementing Global Methods.......................................................................................... 38Invoking Global Methods ........................................................................................................................ 38Defining Nested Functions to Implement Closures ................................................................................ 38Creating and Using Plain Script or JSON Objects .................................................................................... 39Creating Plain JSON Objects .................................................................................................................... 40Checking for Undefined .......................................................................................................................... 41How is a Particular C# Feature Modeled in Script? .................................................................................... 41How is a Namespace Defined? ................................................................................................................ 41How is a Class Defined? .......................................................................................................................... 41How is a Derived Class Defined? ............................................................................................................. 42How is an Interface Defined? .................................................................................................................. 42How is a Delegate Type Defined? ........................................................................................................... 43How are Delegates Used? ....................................................................................................................... 43How are Enumerations Defined and Consumed? ................................................................................... 44How are Properties Declared and Accessed? ......................................................................................... 45How are Indexers Declared and Accessed? ............................................................................................ 45How are Events Declared and Accessed? ............................................................................................... 46How are Static Members Declared and Accessed? ................................................................................ 47How is a foreach Statement Implemented? ........................................................................................... 47How are Anonymous Delegates Implemented ....................................................................................... 48Roadmap ..................................................................................................................................................... 49Feedback ..................................................................................................................................................... 50

Activity (9)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Bbaggi Bk liked this
reinswart liked this
reinswart liked this
dasarp85 liked this
BrunoRoberto liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->