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