Mercurial > silverbladetech
annotate Stocks/Stocks.Service/AssemblyInit.cs @ 4:57f20ba55884
Fix for webClientShim to use downloadString instead of downloadData
Refactoring and introduction of static TimedDelegates.Execute() helper method
author | stevenh7776 stevenhollidge@hotmail.com |
---|---|
date | Mon, 20 Feb 2012 23:04:58 +0700 |
parents | e5d46bb6cdb0 |
children | c812bca7b1ac |
rev | line source |
---|---|
0 | 1 using System.Diagnostics; |
2 using System.Reflection; | |
3 using Ninject; | |
4 using NLog; | |
5 | |
6 namespace Stocks.Service | |
7 { | |
8 internal class AssemblyInit | |
9 { | |
10 private static Logger logger = LogManager.GetCurrentClassLogger(); | |
11 | |
12 public AssemblyInit () | |
13 { | |
14 var fvi = FileVersionInfo.GetVersionInfo( | |
15 Assembly.GetExecutingAssembly().Location); | |
16 | |
17 logger.Info("Init: {0} {1} ", | |
18 Assembly.GetExecutingAssembly().GetName(), | |
19 fvi.ProductVersion); | |
20 } | |
21 } | |
22 } |