IJavascript |
The IJavascriptObjectRepository type exposes the following members.
Name | Description | |
---|---|---|
HasBoundObjects | Has bound objects | |
NameConverter | Converted .Net method/property/field names to the name that will be used in Javasript. Used for when .Net naming conventions differ from Javascript naming conventions. | |
Settings | Javascript Binding Settings |
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) | |
IsBound | Is object bound | |
Register | ||
UnRegister | UnRegister a bound object from the repository. If you unregister an object that is currently bound in JavaScript then the method/property calls will fail. | |
UnRegisterAll | UnRegister all the currently bound objects from the repository. If you unregister an object that is currently bound in JavaScript then the method/property calls will fail. |
Name | Description | |
---|---|---|
ObjectBoundInJavascript | Event handler is triggered when a object has been successfully bound in javascript | |
ObjectsBoundInJavascript | Event handler is triggered when multiple objects has been successfully bound in javascript, this event only contains the names of objects successfully bound. | |
ResolveObject | Event handler is called when an object with a given name is requested for binding and is not yet registered with the repository. Use ObjectRepository to register objects (using |