C# Class Telerik.Web.Mvc.UI.StyleSheetRegistrar

Manages ASP.NET MVC views style sheet files.
Show file Open project: juanplopes/simple-telerik Class Usage Examples

Public Properties

Property Type Description
Key string

Public Methods

Method Description
Render ( ) : void

Writes the stylesheets in the response.

StyleSheetRegistrar ( WebAssetItemCollection styleSheets, System.Web.Mvc.ViewContext viewContext, IWebAssetItemMerger assetItemMerger ) : System

Initializes a new instance of the StyleSheetRegistrar class.

ToHtmlString ( ) : string

Protected Methods

Method Description
Write ( TextWriter writer ) : void

Writes all stylesheet source.

Method Details

Render() public method

Writes the stylesheets in the response.
public Render ( ) : void
return void

StyleSheetRegistrar() public method

Initializes a new instance of the StyleSheetRegistrar class.
public StyleSheetRegistrar ( WebAssetItemCollection styleSheets, System.Web.Mvc.ViewContext viewContext, IWebAssetItemMerger assetItemMerger ) : System
styleSheets WebAssetItemCollection The style sheets.
viewContext System.Web.Mvc.ViewContext The view context.
assetItemMerger IWebAssetItemMerger The asset merger.
return System

ToHtmlString() public method

public ToHtmlString ( ) : string
return string

Write() protected method

Writes all stylesheet source.
protected Write ( TextWriter writer ) : void
writer System.IO.TextWriter The writer.
return void

Property Details

Key public static property

Used to ensure that the same instance is used for the same HttpContext.
public static string Key
return string