Пример #1
0
        private void ReadFactoryType(XmlReaderDelegator reader)
        {
            string factoryTypeString = reader.Value;

            if (factoryTypeString != null && factoryTypeString.Length > 0)
            {
                XmlObjectSerializerReadContext.ParseQualifiedName(factoryTypeString, reader, out FactoryTypeName, out FactoryTypeNamespace, out FactoryTypePrefix);
            }
        }
Пример #2
0
        private void ReadXsiType(XmlReaderDelegator reader)
        {
            string qname = reader.Value;

            if ((qname != null) && (qname.Length > 0))
            {
                XmlObjectSerializerReadContext.ParseQualifiedName(qname, reader, out this.XsiTypeName, out this.XsiTypeNamespace, out this.XsiTypePrefix);
            }
        }
Пример #3
0
        void ReadXsiType(XmlReaderDelegator reader)
        {
            string xsiTypeString = reader.Value;

            if (xsiTypeString != null && xsiTypeString.Length > 0)
            {
                XmlObjectSerializerReadContext.ParseQualifiedName(xsiTypeString, reader, out XsiTypeName, out XsiTypeNamespace, out XsiTypePrefix);
            }
        }
Пример #4
0
 private XmlQualifiedName ParseQualifiedName(string str)
 {
     string name;
     string? ns;
     if (str == null || str.Length == 0)
         name = ns = string.Empty;
     else
         XmlObjectSerializerReadContext.ParseQualifiedName(str, this, out name, out ns, out _);
     return new XmlQualifiedName(name, ns);
 }
Пример #5
0
        private XmlQualifiedName ParseQualifiedName(string str)
        {
            string name, ns, prefix;

            if (str == null || str.Length == 0)
            {
                name = ns = string.Empty;
            }
            else
            {
                XmlObjectSerializerReadContext.ParseQualifiedName(str, this, out name, out ns, out prefix);
            }
            return(new XmlQualifiedName(name, ns));
        }
Пример #6
0
        private XmlQualifiedName ParseQualifiedName(string str)
        {
            string str2;
            string str3;

            if ((str == null) || (str.Length == 0))
            {
                str2 = str3 = string.Empty;
            }
            else
            {
                string str4;
                XmlObjectSerializerReadContext.ParseQualifiedName(str, this, out str2, out str3, out str4);
            }
            return(new XmlQualifiedName(str2, str3));
        }