**** Merged from MCS ****
[mono-project.git] / mcs / nunit20 / core / CategoryManager.cs
blob40c93de52b3cf121faa9c6de68b116d8a4501970
1 using System;
2 using System.Collections;
4 namespace NUnit.Core
6 public class CategoryManager
8 private static Hashtable categories = new Hashtable();
10 public static void Add(string name)
12 categories[name] = name;
15 public static void Add(IList list)
17 foreach(string name in list)
19 Add(name);
23 public static ICollection Categories
25 get { return categories.Values; }
28 public static void Clear()
30 categories = new Hashtable();