Mercurial > silverbladetech
view Stocks/Stocks.Service/AssemblyInit.cs @ 21:dfc81f8bb838
working version for sttocks except ui within metrowpf
author | adminsh@apollo |
---|---|
date | Tue, 20 Mar 2012 15:07:31 +0000 |
parents | c812bca7b1ac |
children | 399398841fd0 |
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(); [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands")] public AssemblyInit () { var fvi = FileVersionInfo.GetVersionInfo( Assembly.GetExecutingAssembly().Location); logger.Info("Init: {0} {1} ", Assembly.GetExecutingAssembly().GetName(), fvi.ProductVersion); } } }