C# Class Sage.Controllers.GenericController

Implements a generic controller that serves page requests for views that don't have their own controller.
Most of the times, a Sage view will not require a specific controller, since all that is needed is for the framework to transform the view's configuration file with the appropriate XSLT style sheet. If a view has it's own configuration file, this controller will process it and transform it with the appropriate XSLT style sheet.
Inheritance: SageController
Mostra file Open project: igorfrance/sage

Protected Properties

Property Type Description
genericViewInfo Sage.Views.ViewInfo

Public Methods

Method Description
GetLastModificationDate ( string viewName ) : DateTime?

Gets the last modification date for the specified viewName.

Protected Methods

Method Description
Initialize ( System.Web.Routing.RequestContext requestContext ) : void

Initializes the controller.

Private Methods

Method Description
Action ( ) : System.Web.Mvc.ActionResult

Method Details

GetLastModificationDate() public method

Gets the last modification date for the specified viewName.
public GetLastModificationDate ( string viewName ) : DateTime?
viewName string The name of the action for which to retrieve the last modification date.
return DateTime?

Initialize() protected method

Initializes the controller.
protected Initialize ( System.Web.Routing.RequestContext requestContext ) : void
requestContext System.Web.Routing.RequestContext The request context.
return void

Property Details

genericViewInfo protected_oe property

The generic view information
protected ViewInfo,Sage.Views genericViewInfo
return Sage.Views.ViewInfo