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
Afficher le fichier Open project: igorfrance/sage

Protected Properties

Свойство Type Description
genericViewInfo Sage.Views.ViewInfo

Méthodes publiques

Méthode Description
GetLastModificationDate ( string viewName ) : DateTime?

Gets the last modification date for the specified viewName.

Méthodes protégées

Méthode Description
Initialize ( System.Web.Routing.RequestContext requestContext ) : void

Initializes the controller.

Private Methods

Méthode Description
Action ( ) : System.Web.Mvc.ActionResult

Method Details

GetLastModificationDate() public méthode

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

Initialize() protected méthode

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

Property Details

genericViewInfo protected_oe property

The generic view information
protected ViewInfo,Sage.Views genericViewInfo
Résultat Sage.Views.ViewInfo