GuiCompare.XMLAssembly.CreateHash C# (CSharp) Method

CreateHash() static private method

static private CreateHash ( XMLNamespace other ) : Hashtable
other XMLNamespace
return System.Collections.Hashtable
		static Hashtable CreateHash (XMLNamespace [] other)
		{
			Hashtable result = new Hashtable ();
			if (other != null) {
				int i = 0;
				foreach (XMLNamespace n in other) {
					result [n.Name] = i++;
				}
			}

			return result;
		}