C# Class UCDArch.Web.Attributes.VersionAttribute

Inheritance: System.Web.Mvc.ActionFilterAttribute
Afficher le fichier Open project: ucdavis/UCDArch

Méthodes publiques

Méthode Description
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
VersionAttribute ( ) : System

Private Methods

Méthode Description
LoadAssemblyVersion ( System.Web.Mvc.ActionExecutingContext filterContext ) : void

Grabs the date time stamp and places the version in Cache if it does not exist and places the version in ViewData

RetrieveLinkerTimestamp ( string filePath ) : System.DateTime

Grabs the build linker time stamp

http://stackoverflow.com/questions/2050396/getting-the-date-of-a-net-assembly and http://www.codinghorror.com/blog/2005/04/determining-build-date-the-hard-way.html

Method Details

OnActionExecuting() public méthode

public OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
Résultat void

VersionAttribute() public méthode

public VersionAttribute ( ) : System
Résultat System