/// <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); }
/// <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); }