nicko       2004/12/12 17:51:24

  Modified:    src/Core DefaultRepositorySelector.cs
  Log:
  Fixed call to GetCustomAttributes for PluginAttribute
  
  Revision  Changes    Path
  1.12      +1 -1      logging-log4net/src/Core/DefaultRepositorySelector.cs
  
  Index: DefaultRepositorySelector.cs
  ===================================================================
  RCS file: /home/cvs/logging-log4net/src/Core/DefaultRepositorySelector.cs,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- DefaultRepositorySelector.cs      13 Dec 2004 01:42:50 -0000      1.11
  +++ DefaultRepositorySelector.cs      13 Dec 2004 01:51:23 -0000      1.12
  @@ -662,7 +662,7 @@
                        }
   
                        // Look for the PluginAttribute on the assembly
  -                     object[] configAttributes = 
Attribute.GetCustomAttributes(assembly, typeof(log4net.Plugin.IPluginFactory), 
false);
  +                     object[] configAttributes = 
Attribute.GetCustomAttributes(assembly, typeof(log4net.Config.PluginAttribute), 
false);
                        if (configAttributes != null && configAttributes.Length 
> 0)
                        {
                                foreach(log4net.Plugin.IPluginFactory 
configAttr in configAttributes)
  
  
  

Reply via email to