System.Data.XmlSchemaWriter.CheckNamespace C# (CSharp) Метод

CheckNamespace() приватный Метод

private CheckNamespace ( string prefix, string ns, ListDictionary names, ListDictionary includes ) : void
prefix string
ns string
names System.Collections.Specialized.ListDictionary
includes System.Collections.Specialized.ListDictionary
Результат void
		private void CheckNamespace (string prefix, string ns, ListDictionary names, ListDictionary includes)
		{
			if (ns == String.Empty)
				return;
			if (dataSetNamespace != ns) {
				if ((string)names [prefix] != ns) {
					for (int i = 1; i < int.MaxValue; i++) {
						string p = "app" + i;
						if (names [p] == null) {
							names.Add (p, ns);
							HandleExternalNamespace (p, ns, includes);
							break;
						}
					}
				}
			}
		}