Mercurial > silverbladetech
annotate Stocks/Stocks.Service/AssemblyInit.cs @ 111:6cb8cd05ad6b
Remove automated tests
author | stevenhollidge <stevenhollidge@hotmail.com> |
---|---|
date | Sun, 06 May 2012 21:51:38 +0100 |
parents | 399398841fd0 |
children |
rev | line source |
---|---|
0 | 1 using System.Diagnostics; |
23
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
2 using System.Diagnostics.CodeAnalysis; |
0 | 3 using System.Reflection; |
4 using NLog; | |
5 | |
6 namespace Stocks.Service | |
7 { | |
23
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
8 internal class AssemblyInit |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
9 { |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
10 private static readonly Logger logger = LogManager.GetCurrentClassLogger(); |
0 | 11 |
23
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
12 [SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands")] |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
13 public AssemblyInit() |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
14 { |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
15 FileVersionInfo fvi = FileVersionInfo.GetVersionInfo( |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
16 Assembly.GetExecutingAssembly().Location); |
0 | 17 |
23
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
18 logger.Info("Init: {0} {1} ", |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
19 Assembly.GetExecutingAssembly().GetName(), |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
20 fvi.ProductVersion); |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
21 } |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
22 } |
399398841fd0
Working version for Stocks (including loosely coupled components
adminsh@apollo
parents:
6
diff
changeset
|
23 } |