C# Class Subtext.Web.UI.Globals

Summary description for Globals.
Datei anzeigen Open project: ayende/Subtext

Public Methods

Method 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 method

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
return string

SetTitle() public static method

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.
return void