C# 클래스 Gramps.Controllers.Filters.VersionAttribute

상속: System.Web.Mvc.ActionFilterAttribute
파일 보기 프로젝트 열기: ucdavis/Gramps

공개 메소드들

메소드 설명
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
VersionAttribute ( ) : System

비공개 메소드들

메소드 설명
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

메소드 상세

OnActionExecuting() 공개 메소드

public OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
리턴 void

VersionAttribute() 공개 메소드

public VersionAttribute ( ) : System
리턴 System