| 
    Hybrid Bridge
    
   | 
 
A generic handler to be used to make C# enumerable types accessible from the Javascript side More...
  
 Public Member Functions | |
| EnumBridge () | |
| Creates a new instance of this class  More... | |
| virtual object | InterceptRequest (string method, Dictionary< string, object > parameters, out bool hasResult) | 
| Handles the passed request and returns the result  More... | |
| virtual bool | ShouldInterceptRequest (string handler, string method) | 
| Checks the request and returns true if this request can be handled by this handler  More... | |
| virtual void | Initialize (BridgeController bridge) | 
| Initialize the handler and generates the needed Javascript code  More... | |
Static Public Member Functions | |
| static IBridgeHandler | FromType (Type genericType) | 
| Creates a new instance of EnumBridge class with the specified Type as the class's generic type  More... | |
Protected Member Functions | |
| virtual object | OnPushJavascript (PushJavascriptEventArgs eventArgs) | 
| Raises the PushJavascript event using provided arguments  More... | |
Static Protected Attributes | |
| static List< FieldInfo > | Fields | 
| A cached list of enumerable fields for this type  More... | |
| static readonly object | Lock = new object() | 
| A static object to be used as thread lock when working with other static fields  More... | |
| static Dictionary< MethodInfo, ParameterInfo[]> | Methods | 
| A cached list of public and non generic methods for this type  More... | |
Properties | |
| static string | Identification [get] | 
| Returns a string containing the name of the proxy enumerable object accessible from the Javascript side  More... | |
| static Type | GenericType = typeof(T).FullName.Replace('+', '.') [get] | 
| Returns the generic type used to create this class  More... | |
Events | |
| PushJavascriptEvent | PushJavascript | 
| Event that gets raised when handler needs to push some Javascript code  More... | |
  Events inherited from HybridBridge.IBridgeHandler | |
| PushJavascriptEvent | PushJavascript | 
| Event that gets raised when handler needs to push some Javascript code  More... | |
A generic handler to be used to make C# enumerable types accessible from the Javascript side
Contains static, reusable and non generic methods for the EnumBridge class
| T | The enumerable type to be reflected on the Javascript side | 
| T | : | struct | |
| T | : | IConvertible | 
Definition at line 18 of file EnumBridge'1.cs.
| HybridBridge.EnumBridge< T >.EnumBridge | ( | ) | 
Creates a new instance of this class
| InvalidGenericTypeException | Indicates that the passed generic type is not a enumerable | 
Definition at line 42 of file EnumBridge'1.cs.
      
  | 
  static | 
Creates a new instance of EnumBridge class with the specified Type as the class's generic type
| genericType | The type to create a EnumBridge instance for | 
Definition at line 17 of file EnumBridge.cs.
      
  | 
  virtual | 
Initialize the handler and generates the needed Javascript code
| bridge | The BridgeController object requesting initialization | 
Implements HybridBridge.IBridgeHandler.
Definition at line 132 of file EnumBridge'1.cs.
      
  | 
  virtual | 
Handles the passed request and returns the result
| method | The method name to handle | 
| parameters | The method parameters | 
| hasResult | A boolean value indicting if the handling process resulted in a value | 
Implements HybridBridge.IBridgeHandler.
Definition at line 82 of file EnumBridge'1.cs.
      
  | 
  protectedvirtual | 
Raises the PushJavascript event using provided arguments
| eventArgs | The arguments to be used to raise PushJavascript event | 
Definition at line 162 of file EnumBridge'1.cs.
      
  | 
  virtual | 
Checks the request and returns true if this request can be handled by this handler
| handler | The name of requested handler | 
| method | The method name to handle | 
Implements HybridBridge.IBridgeHandler.
Definition at line 118 of file EnumBridge'1.cs.
      
  | 
  staticprotected | 
A cached list of enumerable fields for this type
Definition at line 24 of file EnumBridge'1.cs.
      
  | 
  staticprotected | 
A static object to be used as thread lock when working with other static fields
Definition at line 30 of file EnumBridge'1.cs.
      
  | 
  staticprotected | 
A cached list of public and non generic methods for this type
Definition at line 36 of file EnumBridge'1.cs.
      
  | 
  staticget | 
Returns the generic type used to create this class
Definition at line 73 of file EnumBridge'1.cs.
      
  | 
  staticget | 
Returns a string containing the name of the proxy enumerable object accessible from the Javascript side
Definition at line 68 of file EnumBridge'1.cs.
| PushJavascriptEvent HybridBridge.EnumBridge< T >.PushJavascript | 
Event that gets raised when handler needs to push some Javascript code
Definition at line 126 of file EnumBridge'1.cs.
 1.8.11