FlowR.Core/Application.cs
/// <summary>
///     Call a global JS method, don't wait for response.
/// </summary>
/// <example>from a DomNode : GetApplication().CallGlobalMethod('alert',['this is an alert']);</example>
/// <param name="methodName"></param>
/// <param name="arguments"></param>
Call a global JS method, don't wait for response.
Call a global JS method don ' t wait for response .
public void CallGlobalMethod(string methodName, params string[] arguments)
        {
            MessageGlobal.Factory.MessageGlobalMethodCall(
                methodName,
                arguments
            ).SendMessageAsync(Communication);
        }
public void CallGlobalMethod ( string methodName , params string [ ] arguments ) { MessageGlobal . Factory . MessageGlobalMethodCall ( methodName , arguments ) . SendMessageAsync ( Communication ) ; }
Call a global JS method, don't wait for response.
Call a global JS method don ' t wait for response .
methodName
string
None
arguments
None
example
from a DomNode : GetApplication().CallGlobalMethod('alert',['this is an alert']).
from a DomNode : GetApplication () . CallGlobalMethod ( ' alert ' [ ' this is an alert ' ] ) .