C# Class N2.Web.Mvc.Html.ResourcesExtensions.ResourcesHelper

Show file Open project: n2cms/n2cms Class Usage Examples

Private Properties

Property Type Description
IHtmlString string

Public Methods

Method Description
HtmlLiteral ( string html ) : ResourcesHelper
JavaScript ( string resourceUrl ) : ResourcesHelper
JavaScript ( string script, ScriptOptions options ) : ResourcesHelper
Render ( TextWriter writer = null ) : void
StyleSheet ( string resourceUrl ) : ResourcesHelper
ToString ( ) : string

Private Methods

Method Description
IHtmlString ( ) : string

Method Details

HtmlLiteral() public method

public HtmlLiteral ( string html ) : ResourcesHelper
html string
return ResourcesHelper

JavaScript() public method

public JavaScript ( string resourceUrl ) : ResourcesHelper
resourceUrl string
return ResourcesHelper

JavaScript() public method

public JavaScript ( string script, ScriptOptions options ) : ResourcesHelper
script string
options ScriptOptions
return ResourcesHelper

Render() public method

public Render ( TextWriter writer = null ) : void
writer System.IO.TextWriter
return void

StyleSheet() public method

public StyleSheet ( string resourceUrl ) : ResourcesHelper
resourceUrl string
return ResourcesHelper

ToString() public method

public ToString ( ) : string
return string