1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using System.Reflection;
8
/// Factory for ReportSections
11
/// created by - Forstmeier Peter
12
/// created on - 01.09.2005 17:05:03
14
namespace ICSharpCode.Reports.Core
16
internal sealed class SectionFactory
18
private SectionFactory ()
22
public static BaseSection Create(string name) {
23
if (String.IsNullOrEmpty(name)) {
24
String str = String.Format(System.Globalization.CultureInfo.CurrentCulture,
26
throw new UnknownItemException(str);
28
return new BaseSection(name);