Exemplo n.º 1
0
 public AssemblyVersionProvider(HttpContextBase httpContext)
 {
     this.version = httpContext
         .IfExists(ctx => ctx.ApplicationInstance)
         .IfExists(i => i.GetType().BaseType.Assembly.GetName().Version.ToString());
 }