View Source
Class WebViewPageExtensions
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
public static class WebViewPageExtensions
Methods
View Source
RenderSection(WebPageBase, String, HelperResult)
Declaration
public static HelperResult RenderSection(this WebPageBase webPage, string name, HelperResult defaultContents)
Parameters
Type |
Name |
Description |
WebPageBase |
webPage |
|
System.String |
name |
|
HelperResult |
defaultContents |
|
Returns
Type |
Description |
HelperResult |
|
View Source
RenderSection(WebPageBase, String, Func<Object, HelperResult>)
Declaration
public static HelperResult RenderSection(this WebPageBase webPage, string name, Func<dynamic, HelperResult> defaultContents)
Parameters
Type |
Name |
Description |
WebPageBase |
webPage |
|
System.String |
name |
|
System.Func<System.Object, HelperResult> |
defaultContents |
|
Returns
Type |
Description |
HelperResult |
|
View Source
RenderSection(WebPageBase, String, String)
Declaration
public static HelperResult RenderSection(this WebPageBase webPage, string name, string defaultContents)
Parameters
Type |
Name |
Description |
WebPageBase |
webPage |
|
System.String |
name |
|
System.String |
defaultContents |
|
Returns
Type |
Description |
HelperResult |
|
View Source
RenderSection(WebPageBase, String, IHtmlString)
Declaration
public static HelperResult RenderSection(this WebPageBase webPage, string name, IHtmlString defaultContents)
Parameters
Type |
Name |
Description |
WebPageBase |
webPage |
|
System.String |
name |
|
System.Web.IHtmlString |
defaultContents |
|
Returns
Type |
Description |
HelperResult |
|