4 references to XmlSchemaToXElement
System.ServiceModel.Web (4)
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (4)
315
element.Add(GenerateSampleXml(
XmlSchemaToXElement
(operationInfo.Request.Schema), SR2.GetString(SR2.HelpPageRequestSchema), HtmlRequestSchemaId));
321
element.Add(GenerateSampleXml(
XmlSchemaToXElement
(schema), ++count == 1 ? SR2.GetString(SR2.HelpPageAdditionalRequestSchema) : null, HtmlRequestSchemaId));
327
element.Add(GenerateSampleXml(
XmlSchemaToXElement
(operationInfo.Response.Schema), SR2.GetString(SR2.HelpPageResponseSchema), HtmlResponseSchemaId));
333
element.Add(GenerateSampleXml(
XmlSchemaToXElement
(schema), ++count == 1 ? SR2.GetString(SR2.HelpPageAdditionalResponseSchema) : null, HtmlResponseSchemaId));