示例#1
0
        public XmlInputFormatter(XmlPrefix xmlPrefix, TypeRepository typeCollections)
        {
            this.xmlPrefix       = xmlPrefix;
            this.typeCollections = typeCollections;

            SupportedMediaTypes.Clear();
            SupportedEncodings.Clear();
        }
示例#2
0
 public SoapXmlInputFormatter(XmlPrefix xmlPrefix, TypeRepository typeCollections) : base(xmlPrefix, typeCollections)
 {
     SupportedMediaTypes.Add("application/soap+xml");
     SupportedEncodings.Add(Encoding.UTF8);
 }
示例#3
0
文件: Xml.cs 项目: 4vz/Aveezo
 internal XmlObjectElement(XmlPrefix xmlPrefix, TypeRepository typeCollections)
 {
     XmlPrefix            = xmlPrefix;
     this.typeCollections = typeCollections;
 }