Fixed the licensing statements - I had erroneously marked the files as covered by...
[lwes-dotnet/github-mirror.git] / Org.Lwes / Config / ListenerConfigurationElementCollection.cs
blob1904ab55880d5ca34f2b78b222088fef729a4dbf
1 //
2 // This file is part of the LWES .NET Binding (LWES.net)
3 //
4 // COPYRIGHT (C) 2009, Phillip Clark (cerebralkungfu[at*g mail[dot*com)
5 // original .NET implementation
6 //
7 // LWES.net is free software: you can redistribute it and/or modify
8 // it under the terms of the Lesser GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
12 // LWES.net is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
17 // You should have received a copy of the Lesser GNU General Public License
18 // along with LWES.net. If not, see <http://www.gnu.org/licenses/>.
20 namespace Org.Lwes.Config
22 using System;
23 using System.Collections.Generic;
24 using System.Linq;
25 using System.Text;
27 /// <summary>
28 /// Collection of Listener configuration sections.
29 /// </summary>
30 public class ListenerConfigurationElementCollection : AbstractConfigurationElementCollection<ListenerConfigurationSection, string>
32 #region Methods
34 /// <summary>
35 /// Gets the element key for a listener configuration element. The key is the listener's name.
36 /// </summary>
37 /// <param name="element">the element</param>
38 /// <returns>The listener's name.</returns>
39 protected override string PerformGetElementKey(ListenerConfigurationSection element)
41 return element.Name;
44 #endregion Methods