private static void InitializeContainer() { LogFileSettings settings = LogFileSection.GetAsSettings(); // setup the container here... grrr... we're duplicating this! IoC.Initialize(new SimpleDependencyResolver() .Register <ILogFactory>(new NLogFactory(settings)) ); }
public NLogFactory() : this(LogFileSection.GetAsSettings()) { }