Hybrid Bridge
Public Member Functions | Properties | List of all members
HybridBridge.PushJavascriptEventArgs Class Reference

The event arguments used by the PushJavascriptEvent delegate More...

Inheritance diagram for HybridBridge.PushJavascriptEventArgs:
HybridBridge.FireJavascriptEventArgs

Public Member Functions

 PushJavascriptEventArgs (string script)
 Creates a new instance of this class with the specific Javascript code More...
 
 PushJavascriptEventArgs (string script, BridgeController target)
 Creates a new instance of this class with the specific Javascript code and one BridgeController to target More...
 
 PushJavascriptEventArgs (string script, Action< object > callback)
 Creates a new instance of this class with the specific Javascript code and a callback function for result More...
 
 PushJavascriptEventArgs (string script, BridgeController target, Action< object > callback)
 Creates a new instance of this class with the specific Javascript code, one BridgeController to target and a callback function for result More...
 

Properties

bool FireAway [get, set]
 Indicates if operations needs a result More...
 
BridgeController Target [get]
 Contains the target BridgeController instance or to match all listening BridgeController instances More...
 
string Script [get]
 The Javascript code to execute More...
 
Action< object > Callback [get]
 The callback function to be used for the result of the operation More...
 

Detailed Description

The event arguments used by the PushJavascriptEvent delegate

Definition at line 8 of file PushJavascriptEventArgs.cs.

Constructor & Destructor Documentation

HybridBridge.PushJavascriptEventArgs.PushJavascriptEventArgs ( string  script)

Creates a new instance of this class with the specific Javascript code

Parameters
scriptThe Javascript code to be pushed

Definition at line 14 of file PushJavascriptEventArgs.cs.

HybridBridge.PushJavascriptEventArgs.PushJavascriptEventArgs ( string  script,
BridgeController  target 
)

Creates a new instance of this class with the specific Javascript code and one BridgeController to target

Parameters
scriptThe Javascript code to be pushed
targetThe BridgeController class to target

Definition at line 24 of file PushJavascriptEventArgs.cs.

HybridBridge.PushJavascriptEventArgs.PushJavascriptEventArgs ( string  script,
Action< object >  callback 
)

Creates a new instance of this class with the specific Javascript code and a callback function for result

Parameters
scriptThe Javascript code to be pushed
callbackThe callback function to be used for the result of the operation

Definition at line 33 of file PushJavascriptEventArgs.cs.

HybridBridge.PushJavascriptEventArgs.PushJavascriptEventArgs ( string  script,
BridgeController  target,
Action< object >  callback 
)

Creates a new instance of this class with the specific Javascript code, one BridgeController to target and a callback function for result

Parameters
scriptThe Javascript code to be pushed
targetThe BridgeController class to target
callbackThe callback function to be used for the result of the operation

Definition at line 44 of file PushJavascriptEventArgs.cs.

Property Documentation

Action<object> HybridBridge.PushJavascriptEventArgs.Callback
get

The callback function to be used for the result of the operation

Definition at line 70 of file PushJavascriptEventArgs.cs.

bool HybridBridge.PushJavascriptEventArgs.FireAway
getset

Indicates if operations needs a result

Definition at line 54 of file PushJavascriptEventArgs.cs.

string HybridBridge.PushJavascriptEventArgs.Script
get

The Javascript code to execute

Definition at line 65 of file PushJavascriptEventArgs.cs.

BridgeController HybridBridge.PushJavascriptEventArgs.Target
get

Contains the target BridgeController instance or to match all listening BridgeController instances

Definition at line 60 of file PushJavascriptEventArgs.cs.


The documentation for this class was generated from the following file: