/// <summary> /// Output using namespaces /// </summary> private void WriteUsingNamespaces() { Formatter.CloseNamespace(); foreach (String ns in namespaces.Values) { Formatter.Append("using namespace "); if (String.IsNullOrEmpty(ns)) { Formatter.Append("UNNAMED"); } else { Formatter.Append(ns + "_NS"); } Formatter.AppendLine(";"); } }