You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by ni...@apache.org on 2004/06/01 19:58:57 UTC
cvs commit: logging-log4net/src/Plugin PluginMap.cs
nicko 2004/06/01 10:58:57
Modified: src/Plugin PluginMap.cs
Log:
Sealed PluginMap class and removed virtual from properties and methods
Revision Changes Path
1.4 +5 -5 logging-log4net/src/Plugin/PluginMap.cs
Index: PluginMap.cs
===================================================================
RCS file: /home/cvs/logging-log4net/src/Plugin/PluginMap.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- PluginMap.cs 23 Feb 2004 03:18:04 -0000 1.3
+++ PluginMap.cs 1 Jun 2004 17:58:57 -0000 1.4
@@ -33,7 +33,7 @@
/// </remarks>
/// <author>Nicko Cadell</author>
/// <author>Gert Driesen</author>
- public class PluginMap
+ public sealed class PluginMap
{
#region Public Instance Constructors
@@ -59,7 +59,7 @@
/// The <see cref="IPlugin" /> from the map with the name specified, or
/// <c>null</c> if no plugin is found.
/// </returns>
- virtual public IPlugin this[string name]
+ public IPlugin this[string name]
{
get
{
@@ -79,7 +79,7 @@
/// Gets all possible plugins as a list of <see cref="IPlugin" /> objects.
/// </summary>
/// <value>All possible plugins as a list of <see cref="IPlugin" /> objects.</value>
- virtual public PluginCollection AllPlugins
+ public PluginCollection AllPlugins
{
get
{
@@ -101,7 +101,7 @@
/// <remarks>
/// The <see cref="IPlugin" /> will be attached to the repository when added.
/// </remarks>
- virtual public void Add(IPlugin plugin)
+ public void Add(IPlugin plugin)
{
if (plugin == null)
{
@@ -133,7 +133,7 @@
/// Removes a <see cref="IPlugin" /> from the map.
/// </summary>
/// <param name="plugin">The <see cref="IPlugin" /> to remove from the map.</param>
- virtual public void Remove(IPlugin plugin)
+ public void Remove(IPlugin plugin)
{
if (plugin == null)
{