C# Class HermaFx.Mvc.Html.CssHelpers

Show file Open project: evicertia/HermaFx

Public Methods

Method Description
RegisterStyle ( this html, string file ) : void
RenderRegisteredStyles ( this html, bool versioned = false ) : System.Web.HtmlString
Style ( this html, string filename, bool versioned = false ) : System.Web.HtmlString
StyleBlock ( this html, string cssFile ) : System.Web.HtmlString

Private Methods

Method Description
CreateStyleTag ( this helper, string src, string mediaType = null ) : System.Web.HtmlString
GetRegisteredStylesCollection ( this html ) : ICollection

Method Details

RegisterStyle() public static method

public static RegisterStyle ( this html, string file ) : void
html this
file string
return void

RenderRegisteredStyles() public static method

public static RenderRegisteredStyles ( this html, bool versioned = false ) : System.Web.HtmlString
html this
versioned bool
return System.Web.HtmlString

Style() public static method

public static Style ( this html, string filename, bool versioned = false ) : System.Web.HtmlString
html this
filename string
versioned bool
return System.Web.HtmlString

StyleBlock() public static method

public static StyleBlock ( this html, string cssFile ) : System.Web.HtmlString
html this
cssFile string
return System.Web.HtmlString