System.Xml.Serialization.XmlSchemaObjectComparer.Namespace C# (CSharp) Method

Namespace() static private method

static private Namespace ( XmlSchemaObject o ) : string
o System.Xml.Schema.XmlSchemaObject
return string
        internal static string Namespace(XmlSchemaObject o) {
            while (o != null && !(o is XmlSchema)) {
                o = o.Parent;
            }
            return o == null ? "" : ((XmlSchema)o).TargetNamespace;
        }
    }
XmlSchemaObjectComparer