Mercurial > silverbladetech
view Stocks/Stocks.Service/AssemblyInit.cs @ 0:e5d46bb6cdb0
Initial commit
author | adminSH stevenhollidge@hotmail.com |
---|---|
date | Mon, 20 Feb 2012 13:52:35 +0700 |
parents | |
children | 57f20ba55884 |
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); var kernel = new StandardKernel(new IoCModule()); } } }