C# Class Open.Core.Web.HtmlHelperExtensions

Extension methods for the HtmlHelper.
Mostrar archivo Open project: philcockfield/Open.TestHarness.SL

Public Methods

Method Description
RenderTestHarness ( this helper, TestHarnessEmbed mode = TestHarnessEmbed.Page ) : void

Renders the TestHarness from the public domain.

RenderUrl ( this helper, string url ) : void

Retrieves HTML from a remote URL and renders it.

Private Methods

Method Description
RenderAction ( System.Web.Mvc.HtmlHelper helper, string controller, string action, object parameters ) : void
RenderAction ( this helper, string controller, string action ) : void

Method Details

RenderTestHarness() public static method

Renders the TestHarness from the public domain.
public static RenderTestHarness ( this helper, TestHarnessEmbed mode = TestHarnessEmbed.Page ) : void
helper this The HTML helper to extend.
mode TestHarnessEmbed The embed mode to use.
return void

RenderUrl() public static method

Retrieves HTML from a remote URL and renders it.
public static RenderUrl ( this helper, string url ) : void
helper this The HTML helper to extend.
url string The URL of the remote content.
return void