33 references to WriteElementString
PresentationFramework (1)
src\Framework\System\Windows\Annotations\Annotation.cs (1)
249
writer.
WriteElementString
(AnnotationXmlConstants.Prefixes.BaseSchemaPrefix, AnnotationXmlConstants.Elements.StringAuthor, AnnotationXmlConstants.Namespaces.BaseSchemaNamespace, author);
System.IdentityModel (30)
System\IdentityModel\Metadata\MetadataSerializer.cs (2)
2114
writer.
WriteElementString
(WSAuthorizationConstants.Prefix, WSAuthorizationConstants.Elements.DisplayName, WSAuthorizationConstants.Namespace, claim.DisplayTag);
2119
writer.
WriteElementString
(WSAuthorizationConstants.Prefix, WSAuthorizationConstants.Elements.Description, WSAuthorizationConstants.Namespace, claim.Description);
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (1)
245
writer.
WriteElementString
(WSTrust13Constants.Prefix, WSTrust13Constants.ElementNames.KeyWrapAlgorithm, WSTrust13Constants.NamespaceURI, (string)elementValue);
System\IdentityModel\Protocols\WSTrust\WSTrust13ResponseSerializer.cs (1)
193
writer.
WriteElementString
(WSTrust13Constants.Prefix, WSTrust13Constants.ElementNames.KeyWrapAlgorithm, WSTrust13Constants.NamespaceURI, (string)elementValue);
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (22)
945
writer.
WriteElementString
(prefix, WSAuthorizationConstants.Elements.Value, ns, claim.Value);
985
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.SignWith, trustConstants.NamespaceURI, (string)elementValue);
996
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI, (string)elementValue);
1015
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.KeySize, trustConstants.NamespaceURI, Convert.ToString(((int)elementValue), CultureInfo.InvariantCulture));
1091
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.TokenType, trustConstants.NamespaceURI, ((string)elementValue));
1124
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.AuthenticationType, trustConstants.NamespaceURI, (string)elementValue);
1135
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.EncryptionAlgorithm, trustConstants.NamespaceURI, (string)elementValue);
1146
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.CanonicalizationAlgorithm, trustConstants.NamespaceURI, (string)elementValue);
1157
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.SignatureAlgorithm, trustConstants.NamespaceURI, (string)elementValue);
1883
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.KeySize, trustConstants.NamespaceURI, Convert.ToString((int)elementValue, CultureInfo.InvariantCulture));
1967
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.TokenType, trustConstants.NamespaceURI, (string)elementValue);
1995
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.AuthenticationType, trustConstants.NamespaceURI, (string)elementValue);
2006
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.EncryptionAlgorithm, trustConstants.NamespaceURI, (string)elementValue);
2017
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.CanonicalizationAlgorithm, trustConstants.NamespaceURI, (string)elementValue);
2028
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.SignatureAlgorithm, trustConstants.NamespaceURI, (string)elementValue);
2039
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.SignWith, trustConstants.NamespaceURI, (string)elementValue);
2050
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI, (string)elementValue);
2145
writer.
WriteElementString
(trustConstants.Prefix, elementName, trustConstants.NamespaceURI, computedKeyAlgorithmAsStr);
2510
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.RequestType, trustConstants.NamespaceURI, requestTypeAsStr);
2581
writer.
WriteElementString
(WSUtilityConstants.Prefix, WSUtilityConstants.ElementNames.Created, WSUtilityConstants.NamespaceURI, lifetime.Created.Value.ToString(DateTimeFormats.Generated, CultureInfo.InvariantCulture));
2586
writer.
WriteElementString
(WSUtilityConstants.Prefix, WSUtilityConstants.ElementNames.Expires, WSUtilityConstants.NamespaceURI, lifetime.Expires.Value.ToString(DateTimeFormats.Generated, CultureInfo.InvariantCulture));
2775
writer.
WriteElementString
(trustConstants.Prefix, trustConstants.Elements.KeyType, trustConstants.NamespaceURI, keyTypeAsStr);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
1709
writer.
WriteElementString
(SamlConstants.Prefix, SamlConstants.ElementNames.AssertionIdReference, SamlConstants.Namespace, assertionIdReference);
3331
writer.
WriteElementString
(SamlConstants.Prefix, SamlConstants.ElementNames.AssertionIdReference, SamlConstants.Namespace, evidence.AssertionIdReferences[i]);
System\IdentityModel\Tokens\X509DataSecurityKeyIdentifierClauseSerializer.cs (2)
129
writer.
WriteElementString
(XmlSignatureConstants.Prefix, XmlSignatureConstants.Elements.X509IssuerName, XmlSignatureConstants.Namespace, issuerSerialClause.IssuerName);
130
writer.
WriteElementString
(XmlSignatureConstants.Prefix, XmlSignatureConstants.Elements.X509SerialNumber, XmlSignatureConstants.Namespace, issuerSerialClause.IssuerSerialNumber);
System.ServiceModel (1)
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (1)
737
writer.
WriteElementString
(App10Constants.Prefix, App10Constants.Accept, App10Constants.Namespace, collection.Accepts[i]);
System.Web.Services (1)
System\Web\Services\Description\ServiceDescription.cs (1)
588
xmlWriter.
WriteElementString
(ServiceDescription.Prefix, "documentation", ServiceDescription.Namespace, value);