C# Class Subtext.Web.UI.Globals

Summary description for Globals.
Afficher le fichier Open project: ayende/Subtext

Méthodes publiques

Méthode Description
CurrentTitle ( HttpContext context ) : string

This method will be called during PreRender. If no title was set via SetTitle(title, context), then we will default to the blog title

SetTitle ( string title, HttpContext context ) : void

Allows the page title to be set anywhere within the request.

Method Details

CurrentTitle() public static méthode

This method will be called during PreRender. If no title was set via SetTitle(title, context), then we will default to the blog title
public static CurrentTitle ( HttpContext context ) : string
context System.Web.HttpContext
Résultat string

SetTitle() public static méthode

Allows the page title to be set anywhere within the request.
public static SetTitle ( string title, HttpContext context ) : void
title string Title.
context System.Web.HttpContext Context.
Résultat void