view 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
line wrap: on
line source

using System.Diagnostics;
using System.Reflection;
using Ninject;
using NLog;

namespace Stocks.Service
{
	internal class AssemblyInit
	{
		private static Logger logger = LogManager.GetCurrentClassLogger();

		public AssemblyInit ()
		{	
			var fvi = FileVersionInfo.GetVersionInfo(
				Assembly.GetExecutingAssembly().Location);

			logger.Info("Init: {0} {1} ",
				Assembly.GetExecutingAssembly().GetName(),
				fvi.ProductVersion);
		}
	}
}