2 writes to writer
System.ServiceModel.Web (2)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (2)
134
writer
= writer,
154
writer
= writer,
45 references to writer
System.ServiceModel.Web (45)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (45)
194
context.
writer
.WriteAttributeString("i", XmlSchemaInstanceNil, XmlSchemaInstanceNamespace, "true");
198
context.
writer
.WriteAttributeString(attribute.QualifiedName.Name, attribute.QualifiedName.Namespace, content);
236
context.
writer
.WriteStartElement(element.QualifiedName.Name, element.QualifiedName.Namespace);
242
string prefix = context.
writer
.LookupPrefix(contentElement.QualifiedName.Namespace);
246
context.
writer
.WriteAttributeString(XmlNamespacePrefix, prefix, null, contentElement.QualifiedName.Namespace);
250
context.
writer
.WriteAttributeString("i", XmlSchemaInstanceType, XmlSchemaInstanceNamespace, value);
257
context.
writer
.WriteEndElement();
274
context.
writer
.WriteString(SR2.GetString(SR2.HelpExampleGeneratorThisElementContainsText));
297
context.
writer
.WriteStartElement(element.QualifiedName.Name, element.QualifiedName.Namespace);
298
context.
writer
.WriteAttributeString("i", XmlSchemaInstanceNil, XmlSchemaInstanceNamespace, "true");
299
context.
writer
.WriteEndElement();
331
context.
writer
.WriteAttributeString("i", XmlSchemaInstanceNil, XmlSchemaInstanceNamespace, "true");
336
context.
writer
.WriteString(content);
379
context.
writer
.WriteStartElement(null, context.overrideElementName, null);
384
context.
writer
.WriteStartElement(null, element.Name, null);
389
context.
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.arrayString);
400
context.
writer
.WriteStartAttribute(null, JsonGlobals.serverTypeString, null);
401
context.
writer
.WriteString(String.Format(CultureInfo.InvariantCulture, "{0}:#{1}", derivedType.Name, derivedType.Namespace));
402
context.
writer
.WriteEndAttribute();
405
context.
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.objectString);
409
context.
writer
.WriteEndElement();
441
context.
writer
.WriteStartElement(context.overrideElementName);
446
context.
writer
.WriteStartElement(element.QualifiedName.Name);
448
context.
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.nullString);
449
context.
writer
.WriteEndElement();
479
context.
writer
.WriteAttributeString(string.Empty, JsonGlobals.typeString, string.Empty, JsonGlobals.numberString);
480
context.
writer
.WriteString("0");
496
context.
writer
.WriteAttributeString(string.Empty, JsonGlobals.typeString, string.Empty, JsonGlobals.arrayString);
499
context.
writer
.WriteStartElement(JsonGlobals.itemString, string.Empty);
500
context.
writer
.WriteAttributeString(string.Empty, JsonGlobals.typeString, string.Empty, JsonGlobals.numberString);
501
context.
writer
.WriteValue((int)base64stream[i]);
502
context.
writer
.WriteEndElement();
508
context.
writer
.WriteString(JsonGlobals.DateTimeStartGuardReader);
509
context.
writer
.WriteValue((dateTime.ToUniversalTime().Ticks - JsonGlobals.unixEpochTicks) / 10000);
518
context.
writer
.WriteString("-");
522
context.
writer
.WriteString("+");
525
context.
writer
.WriteString((hours < 10) ? "0" + hours : hours.ToString(CultureInfo.InvariantCulture));
527
context.
writer
.WriteString((minutes < 10) ? "0" + minutes : minutes.ToString(CultureInfo.InvariantCulture));
532
context.
writer
.WriteString(JsonGlobals.DateTimeEndGuardReader);
536
context.
writer
.WriteString(XmlConvert.ToString('a'));
557
context.
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
561
context.
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.booleanString);
563
context.
writer
.WriteString(value);
569
context.
writer
.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.nullString);
734
context.
writer
.WriteComment(validTypes.ToString());