1 write to writer
System.ServiceModel (1)
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
1432this.writer = writer;
84 references to writer
System.ServiceModel (84)
System\ServiceModel\Description\ServiceMetadataExtension.cs (84)
1437writer.WriteStartElement("font"); 1438writer.WriteAttributeString("color", "black"); 1439writer.WriteString(className); 1440writer.WriteEndElement(); // font 1445writer.WriteStartElement("font"); 1446writer.WriteAttributeString("color", "darkgreen"); 1447writer.WriteString(comment); 1448writer.WriteEndElement(); // font 1453writer.WriteStartElement("link"); 1454writer.WriteAttributeString("rel", "alternate"); 1455writer.WriteAttributeString("type", "text/xml"); 1456writer.WriteAttributeString("href", discoUrl); 1457writer.WriteEndElement(); // link 1462writer.WriteStartElement("P"); 1463writer.WriteAttributeString("class", "intro"); 1464writer.WriteString(message); 1465writer.WriteEndElement(); // P 1471writer.WriteStartElement("font"); 1472writer.WriteAttributeString("color", "blue"); 1473writer.WriteString(keyword); 1474writer.WriteEndElement(); // font 1479writer.WriteStartElement("P"); 1480writer.WriteAttributeString("class", "intro"); 1482writer.WriteRaw(SR.GetString(SR.SFxDocExt_MainPageIntro2)); 1483writer.WriteEndElement(); // P 1486writer.WriteRaw("<h2 class='intro'>C#</h2><br />"); 1487writer.WriteStartElement("PRE"); 1490writer.WriteString("{\n"); 1492writer.WriteString("Main()\n"); 1493writer.WriteString(" {\n"); 1494writer.WriteString(" "); 1496writer.WriteString(" client = "); 1499writer.WriteString("();\n\n"); 1502writer.WriteString(" client.Close();\n"); 1503writer.WriteString(" }\n"); 1504writer.WriteString("}\n"); 1505writer.WriteEndElement(); // PRE 1506writer.WriteRaw(HttpGetImpl.HtmlBreak); 1510writer.WriteRaw("<h2 class='intro'>Visual Basic</h2><br />"); 1511writer.WriteStartElement("PRE"); 1515writer.WriteString("Main()\n"); 1517writer.WriteString("client As "); 1519writer.WriteString(" = "); 1522writer.WriteString("()\n"); 1525writer.WriteString(" client.Close()\n"); 1528writer.WriteEndElement(); // PRE 1533writer.WriteStartElement("PRE"); 1534writer.WriteString(exceptionDetail.ToString().Replace("\r", "")); 1535writer.WriteEndElement(); // PRE 1540writer.WriteStartElement("STYLE"); 1541writer.WriteAttributeString("type", "text/css"); 1542writer.WriteString("#content{ FONT-SIZE: 0.7em; PADDING-BOTTOM: 2em; MARGIN-LEFT: 30px}"); 1543writer.WriteString("BODY{MARGIN-TOP: 0px; MARGIN-LEFT: 0px; COLOR: #000000; FONT-FAMILY: Verdana; BACKGROUND-COLOR: white}"); 1544writer.WriteString("P{MARGIN-TOP: 0px; MARGIN-BOTTOM: 12px; COLOR: #000000; FONT-FAMILY: Verdana}"); 1545writer.WriteString("PRE{BORDER-RIGHT: #f0f0e0 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #f0f0e0 1px solid; MARGIN-TOP: -5px; PADDING-LEFT: 5px; FONT-SIZE: 1.2em; PADDING-BOTTOM: 5px; BORDER-LEFT: #f0f0e0 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: #f0f0e0 1px solid; FONT-FAMILY: Courier New; BACKGROUND-COLOR: #e5e5cc}"); 1546writer.WriteString(".heading1{MARGIN-TOP: 0px; PADDING-LEFT: 15px; FONT-WEIGHT: normal; FONT-SIZE: 26px; MARGIN-BOTTOM: 0px; PADDING-BOTTOM: 3px; MARGIN-LEFT: -30px; WIDTH: 100%; COLOR: #ffffff; PADDING-TOP: 10px; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #003366}"); 1547writer.WriteString(".intro{display: block; font-size: 1em;}"); 1548writer.WriteEndElement(); // STYLE 1553writer.WriteElementString("TITLE", title); 1554writer.WriteEndElement(); // HEAD 1555writer.WriteStartElement("BODY"); 1556writer.WriteStartElement("DIV"); 1557writer.WriteAttributeString("id", "content"); 1558writer.WriteAttributeString("role", "main"); 1559writer.WriteStartElement("h1"); 1560writer.WriteAttributeString("class", "heading1"); 1561writer.WriteString(title); 1562writer.WriteEndElement(); // h1 1563writer.WriteRaw(HttpGetImpl.HtmlBreak); 1568writer.WriteStartElement("P"); 1569writer.WriteAttributeString("class", "intro"); 1577writer.WriteStartElement("P"); 1579writer.WriteEndElement(); 1585writer.WriteRaw(SR.GetString(SR.SFxDocExt_MainPageIntro1b)); 1587writer.WriteEndElement(); // P 1592writer.WriteRaw(SR.GetString(introductionText)); 1593writer.WriteRaw(HttpGetImpl.HtmlBreak); 1594writer.WriteStartElement("PRE"); 1597writer.WriteString(clientToolName); 1602writer.WriteStartElement("A"); 1603writer.WriteAttributeString("HREF", wsdlUrl); 1606writer.WriteString(wsdlUrl); 1610writer.WriteEndElement(); // A 1613writer.WriteEndElement(); // PRE