Пример #1
0
 /// <summary>
 /// Register all our actions.
 /// </summary>
 /// <param name="provider"></param>
 public void Register(ActionResultProvider provider)
 {
     provider.Register<Redirect>(ProcessRedirect);
     provider.Register<StringContent>(ProcessStringContent);
     provider.Register<JavascriptAlert>(ProcessJavascriptAlert);
     provider.Register<ExecuteJavascript>(ProcessExecuteJavascript);
     provider.Register<StreamResult>(ProcessStream);
 }
Пример #2
0
 /// <summary>
 /// Register all our actions.
 /// </summary>
 /// <param name="provider"></param>
 public void Register(ActionResultProvider provider)
 {
     provider.Register <Redirect>(ProcessRedirect);
     provider.Register <StringContent>(ProcessStringContent);
     provider.Register <JavascriptAlert>(ProcessJavascriptAlert);
     provider.Register <ExecuteJavascript>(ProcessExecuteJavascript);
     provider.Register <StreamResult>(ProcessStream);
 }