comparison Stocks/Stocks.Service/AssemblyInit.cs @ 6:c812bca7b1ac

"Restore packages on build" enabled by Nuget 1.6 General refactoring based on code analysis
author stevenh7776 stevenhollidge@hotmail.com
date Tue, 21 Feb 2012 01:00:34 +0700
parents 57f20ba55884
children 399398841fd0
comparison
equal deleted inserted replaced
5:877d70fb8176 6:c812bca7b1ac
7 { 7 {
8 internal class AssemblyInit 8 internal class AssemblyInit
9 { 9 {
10 private static Logger logger = LogManager.GetCurrentClassLogger(); 10 private static Logger logger = LogManager.GetCurrentClassLogger();
11 11
12 public AssemblyInit () 12 [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands")]
13 public AssemblyInit ()
13 { 14 {
14 var fvi = FileVersionInfo.GetVersionInfo( 15 var fvi = FileVersionInfo.GetVersionInfo(
15 Assembly.GetExecutingAssembly().Location); 16 Assembly.GetExecutingAssembly().Location);
16 17
17 logger.Info("Init: {0} {1} ", 18 logger.Info("Init: {0} {1} ",