public void RegisterFactoryTest()
        {
            NamedFactoryResolver target = new NamedFactoryResolver(); // TODO: Initialize to an appropriate value
            string      name            = string.Empty;               // TODO: Initialize to an appropriate value
            ILogFactory factory         = null;                       // TODO: Initialize to an appropriate value

            target.RegisterFactory(name, factory);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
예제 #2
0
 internal static void RegisterLogger(string name, ILogger logger)
 {
     _resolver.RegisterFactory(name, new SimpleLoggerFactory(logger));
     logger.Info("Logger Initialized");
 }