Clear Up
SharpKit Reference

JsContext Class

Namespace: SharpKit.JavaScript

Base Types

System.Object

Constructors

Name Description
JsContext()

Methods

Name Description
ActionOf(JsAction) Returns a reference to a javascript function with instance context if applicable
ActionOf<T>(JsAction<T>)
ActionOf<T1, T2>(JsAction<T1, T2>)
ActionOf<T1, T2, T3>(JsAction<T1, T2, T3>)
ActionOf<T1, T2, T3, T4>(JsAction<T1, T2, T3, T4>)
ActionOf<T1, T2, T3, T4, T5>(JsAction<T1, T2, T3, T4, T5>)
CtorOf<T>() Returns a reference to the ctor function of a prototype mode type
debugger()
delete(object) Deletes a property from an object, or removes an element from an array.
eval(JsString) Evaluates JScript code and executes it.
FuncOf<R>(JsFunc<TResult>)
FuncOf<T, R>(JsFunc<T, TResult>)
FuncOf<T1, T2, R>(JsFunc<T1, T2, TResult>)
FuncOf<T1, T2, T3, R>(JsFunc<T1, T2, T3, TResult>)
FuncOf<T1, T2, T3, T4, R>(JsFunc<T1, T2, T3, T4, TResult>)
FuncOf<T1, T2, T3, T4, T5, R>(JsFunc<T1, T2, T3, T4, T5, TResult>)
isFinite(double) Returns a Boolean value that indicates if a supplied number is finite.
isNaN(object) Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number).
JsCode(JsCode) Allows writing direct JavaScript code - calling this method will generate only the code inside the string parameter
JsTypeOf(object) A C# equivalant to the javascript typeof operator, with one difference, this one returns an enum with all possible values, instead of an untyped string
NativeActionOf(JsNativeAction) Returns a reference to a javascript function without instance context even if applicable
NativeActionOf<T>(JsNativeAction<T>)
NativeActionOf<T1, T2>(JsNativeAction<T1, T2>)
NativeActionOf<T1, T2, T3>(JsNativeAction<T1, T2, T3>)
NativeActionOf<T1, T2, T3, T4>(JsNativeAction<T1, T2, T3, T4>)
NativeActionOf<T1, T2, T3, T4, T5>(JsNativeAction<T1, T2, T3, T4, T5>)
NativeFuncOf<R>(JsNativeFunc<TResult>)
NativeFuncOf<T, R>(JsNativeFunc<T, TResult>)
NativeFuncOf<T1, T2, R>(JsNativeFunc<T1, T2, TResult>)
NativeFuncOf<T1, T2, T3, R>(JsNativeFunc<T1, T2, T3, TResult>)
NativeFuncOf<T1, T2, T3, T4, R>(JsNativeFunc<T1, T2, T3, T4, TResult>)
NativeFuncOf<T1, T2, T3, T4, T5, R>(JsNativeFunc<T1, T2, T3, T4, T5, TResult>)
parseFloat(JsString) Returns a floating-point number converted from a JsString.
parseInt(JsString) Returns an integer converted from a JsString.
parseInt(JsString, JsNumber) Returns an integer converted from a JsString.
return(object)
return()
String(object) Returns an string converted from a value.
throw(JsError)
typeof(object) The typeof operator returns a string indicating the type of the unevaluated operand.

Fields

Name Description
arguments

Properties

Name Description
null
this
undefined indicates that a variable has not been assigned a value.
© Copyright 2005-2011 SharpKit. All rights reserved.