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

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

Méthodes publiques

Свойство Type Description
Key string

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Write ( TextWriter writer ) : void

Writes all stylesheet source.

Method Details

Render() public méthode

Writes the stylesheets in the response.
public Render ( ) : void
Résultat void

StyleSheetRegistrar() public méthode

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.
Résultat System

ToHtmlString() public méthode

public ToHtmlString ( ) : string
Résultat string

Write() protected méthode

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

Property Details

Key public_oe static_oe property

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