C# Class Signum.Web.JsModule

Represents a Javascript/Typescript file that needs to be called using Require.js In order to create a new JsFunction just call the JsModule indexer and invoke the returning delegate. JsModule MyModule = new JsModule("moduleName"); MyModule["functionName"](arguments...) Will translate to: require(["moduleName"], function(mod) { mod.functionName(arguments...); }
Exibir arquivo Open project: signumsoftware/framework Class Usage Examples

Public Properties

Property Type Description
Entities JsModule
Finder JsModule
Lines JsModule
Navigator JsModule
Operations JsModule
Validator JsModule

Public Methods

Method Description
JsModule ( string name ) : System

File name of the Javascript / Typescript module as expected by Require.js

ToString ( ) : string
this ( string functionName ) : JsFunctionConstructor

Method Details

JsModule() public method

File name of the Javascript / Typescript module as expected by Require.js
public JsModule ( string name ) : System
name string
return System

ToString() public method

public ToString ( ) : string
return string

this() public method

public this ( string functionName ) : JsFunctionConstructor
functionName string
return JsFunctionConstructor

Property Details

Entities public_oe static_oe property

public static JsModule,Signum.Web Entities
return JsModule

Finder public_oe static_oe property

public static JsModule,Signum.Web Finder
return JsModule

Lines public_oe static_oe property

public static JsModule,Signum.Web Lines
return JsModule

Navigator public_oe static_oe property

public static JsModule,Signum.Web Navigator
return JsModule

Operations public_oe static_oe property

public static JsModule,Signum.Web Operations
return JsModule

Validator public_oe static_oe property

public static JsModule,Signum.Web Validator
return JsModule