C# Class RaccoonBlog.Web.Helpers.HtmlHelperExtensions

ファイルを表示 Open project: ayende/RaccoonBlog

Public Methods

Method Description
ConvertSectionTitleToId ( this helper, string sectionTitle ) : string
Glyphicon ( this helper, string iconName ) : System.Web.Mvc.MvcHtmlString
IsSectionActive ( this helper, string sectionTitle ) : bool
Link ( this helper, string text, string href, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
RenderAdminTheme ( this helper ) : IHtmlString
RenderSection ( this helper, string sectionTitle ) : System.Web.Mvc.MvcHtmlString
RenderTheme ( this helper, string themeName ) : IHtmlString

Private Methods

Method Description
RenderThemeInternal ( string themeDirectory, string themeName ) : IHtmlString

Method Details

ConvertSectionTitleToId() public static method

public static ConvertSectionTitleToId ( this helper, string sectionTitle ) : string
helper this
sectionTitle string
return string

Glyphicon() public static method

public static Glyphicon ( this helper, string iconName ) : System.Web.Mvc.MvcHtmlString
helper this
iconName string
return System.Web.Mvc.MvcHtmlString

IsSectionActive() public static method

public static IsSectionActive ( this helper, string sectionTitle ) : bool
helper this
sectionTitle string
return bool

Link() public static method

public static Link ( this helper, string text, string href, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
helper this
text string
href string
htmlAttributes object
return System.Web.Mvc.MvcHtmlString

RenderAdminTheme() public static method

public static RenderAdminTheme ( this helper ) : IHtmlString
helper this
return IHtmlString

RenderSection() public static method

public static RenderSection ( this helper, string sectionTitle ) : System.Web.Mvc.MvcHtmlString
helper this
sectionTitle string
return System.Web.Mvc.MvcHtmlString

RenderTheme() public static method

public static RenderTheme ( this helper, string themeName ) : IHtmlString
helper this
themeName string
return IHtmlString