private static void Remove(IDictionary<IConfigurationTask, List<Type>> graph, IConfigurationTask config)
        {
            var type = config.GetType();
            //logger.Debug("Removing: " + type.FullName);

            foreach (var values in graph.Values)
            {
                // Remove this type from the depenendencies, no impact if it's not there
                values.Remove(type);
            }

            // We're finished with this config class
            graph.Remove(config);
        }
Beispiel #2
0
 public Log4NetLoggerFactory(IConfigurationTask configurer)
 {
     this.configurer = configurer;
 }
        private static void Remove(IDictionary <IConfigurationTask, List <Type> > graph, IConfigurationTask config)
        {
            var type = config.GetType();

            Logger.Debug("Removing: " + type.FullName);

            foreach (var values in graph.Values)
            {
                // Remove this type from the dependencies, no impact if it's not there
                values.Remove(type);
            }

            // We're finished with this config class
            graph.Remove(config);
        }