Clover.NET coverage report - Coverage

Coverage timestamp: viernes, 12 de agosto de 2005 12:53:38 PM

File Stats: LOC: 58   Methods: 1
NCLOC: 21 Classes: 1
 
Source File Conditionals Statements Methods TOTAL
Config\ConfigurationSectionHandler.cs - 100,0 % 100,0 % 100,0 %
coverage
1   #region Copyright
2   /*
3   ShowX. Maps business objects into presentation layer.
4   Copyright (C) 2005 Jesus Diaz.
5  
6   This library is free software; you can redistribute it and/or
7   modify it under the terms of the GNU Lesser General Public
8   License as published by the Free Software Foundation; either
9   version 2.1 of the License, or (at your option) any later version.
10  
11   This library is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14   Lesser General Public License for more details.
15  
16   You should have received a copy of the GNU Lesser General Public
17   License along with this library; if not, write to the Free Software
18   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19  
20   For project details see: http://showx.sourceforge.net
21   */
22   #endregion
23  
24   using System.Configuration;
25   using ShowX.Config;
26   using log4net;
27  
28   namespace ShowX.Config
29   {
30   /// <summary>
31   /// Summary description for ConfigurationSectionHandler.
32   /// </summary>
33   public class ConfigurationSectionHandler : IConfigurationSectionHandler
34   {
35   private static readonly ILog log = LogManager.GetLogger(
36   typeof(ConfigurationSectionHandler));
37  
38   #region IConfigurationSectionHandler Members
39  
40   /// <summary>
41   /// Creates a configuration session handler object.
42   /// </summary>
43   /// <param name="parent">Parent configuration context.</param>
44   /// <param name="configContext">Current configuration context.</param>
45   /// <param name="section">Xml section to parse.</param>
46   /// <returns></returns>
47 6 public object Create(object parent, object configContext,
48   System.Xml.XmlNode section)
49   {
50 6 log.Debug("Creating configuration section handler");
51  
52 6 return XmlConfigurationReader.Read(section);
53   }
54  
55   #endregion
56   }
57   }
58