コード例 #1
0
 protected static bool TryParseElement(XmlReader reader, ServiceDocument document, string version)
 {
     if (document == null)
     {
         throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("document");
     }
     return(document.TryParseElement(reader, version));
 }
コード例 #2
0
        protected static bool TryParseElement(XmlReader reader, ServiceDocument document, string version)
        {
            if (document == null)
            {
                throw new ArgumentNullException(nameof(document));
            }

            return(document.TryParseElement(XmlReaderWrapper.CreateFromReader(reader), version));
        }
コード例 #3
0
 protected static bool TryParseElement(XmlReader reader, ServiceDocument document, string version)
 {
     return(document.TryParseElement(reader, version));
 }