104 references to WriteAttributeString
System.Data.Entity.Design (4)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (4)
435_writer.WriteAttributeString( 645_writer.WriteAttributeString(XmlConstants.UseStrongSpatialTypes, XmlConstants.AnnotationNamespace, XmlConstants.False); 678_writer.WriteAttributeString( 771_writer.WriteAttributeString(attributeName, xmlNamespace, property.Value.ToString());
System.Data.Services (11)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (1)
1633xmlWriter.WriteAttributeString(attributeName, xmlNamespace, (string)metadataProperty.Value);
System\Data\Services\Serializers\MetadataSerializer.cs (8)
341xmlWriter.WriteAttributeString( 389xmlWriter.WriteAttributeString( 394xmlWriter.WriteAttributeString( 401xmlWriter.WriteAttributeString( 409xmlWriter.WriteAttributeString( 414xmlWriter.WriteAttributeString( 422xmlWriter.WriteAttributeString( 428xmlWriter.WriteAttributeString(
System\Data\Services\Serializers\PlainXmlSerializer.cs (2)
85writer.WriteAttributeString(XmlConstants.AtomNullAttributeName, XmlConstants.DataWebMetadataNamespace, XmlConstants.XmlTrueLiteral); 104writer.WriteAttributeString(XmlConstants.AtomTypeAttributeName, XmlConstants.DataWebMetadataNamespace, propertyTypeName);
System.IdentityModel (61)
System\IdentityModel\EncryptedDataElement.cs (2)
176writer.WriteAttributeString( XmlEncryptionConstants.Attributes.Id, null, Id ); 181writer.WriteAttributeString( XmlEncryptionConstants.Attributes.Type, null, Type );
System\IdentityModel\EncryptionMethodElement.cs (1)
67writer.WriteAttributeString( XmlEncryptionConstants.Attributes.Algorithm, null, _algorithm );
System\IdentityModel\Metadata\MetadataSerializer.cs (25)
1978writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ContactType, null, contactPerson.Type.ToString().ToLowerInvariant()); 2064writer.WriteAttributeString(Saml2MetadataConstants.Attributes.Binding, null, (endpoint.Binding.IsAbsoluteUri ? endpoint.Binding.AbsoluteUri : endpoint.Binding.ToString())); 2071writer.WriteAttributeString(Saml2MetadataConstants.Attributes.Location, null, (endpoint.Location.IsAbsoluteUri ? endpoint.Location.AbsoluteUri : endpoint.Location.ToString())); 2075writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ResponseLocation, null, (endpoint.ResponseLocation.IsAbsoluteUri ? endpoint.ResponseLocation.AbsoluteUri : endpoint.ResponseLocation.ToString())); 2164writer.WriteAttributeString(Saml2MetadataConstants.Attributes.Id, null, entityReference); 2185writer.WriteAttributeString(Saml2MetadataConstants.Attributes.EntityGroupName, null, entitiesDescriptor.Name); 2251writer.WriteAttributeString(Saml2MetadataConstants.Attributes.Id, null, entityReference); 2258writer.WriteAttributeString(Saml2MetadataConstants.Attributes.EntityId, null, entityDescriptor.EntityId.Id); 2262writer.WriteAttributeString(WSFederationMetadataConstants.Attributes.FederationId, WSFederationMetadataConstants.Namespace, entityDescriptor.FederationId); 2352writer.WriteAttributeString(Saml2MetadataConstants.Attributes.WantAuthenticationRequestsSigned, null, 2419writer.WriteAttributeString(Saml2MetadataConstants.Attributes.Binding, null, (indexedEP.Binding.IsAbsoluteUri ? indexedEP.Binding.AbsoluteUri : indexedEP.Binding.ToString())); 2426writer.WriteAttributeString(Saml2MetadataConstants.Attributes.Location, null, (indexedEP.Location.IsAbsoluteUri ? indexedEP.Location.AbsoluteUri : indexedEP.Location.ToString())); 2433writer.WriteAttributeString(Saml2MetadataConstants.Attributes.EndpointIndex, null, indexedEP.Index.ToString(CultureInfo.InvariantCulture)); 2437writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ResponseLocation, null, (indexedEP.ResponseLocation.IsAbsoluteUri ? indexedEP.ResponseLocation.AbsoluteUri : indexedEP.ResponseLocation.ToString())); 2442writer.WriteAttributeString(Saml2MetadataConstants.Attributes.EndpointIsDefault, null, XmlConvert.ToString(indexedEP.IsDefault.Value)); 2471writer.WriteAttributeString(Saml2MetadataConstants.Attributes.Use, null, keyDescriptor.Use.ToString().ToLowerInvariant()); 2499writer.WriteAttributeString(Saml2MetadataConstants.Attributes.Algorithm, null, encryptionMethod.Algorithm.AbsoluteUri); 2767writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ValidUntil, null, roleDescriptor.ValidUntil.ToString("s", CultureInfo.InvariantCulture)); 2773writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ErrorUrl, null, (roleDescriptor.ErrorUrl.IsAbsoluteUri ? roleDescriptor.ErrorUrl.AbsoluteUri : roleDescriptor.ErrorUrl.ToString())); 2789writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ProtocolsSupported, null, protocolsString.Trim()); 2932writer.WriteAttributeString(Saml2MetadataConstants.Attributes.AuthenticationRequestsSigned, null, 2938writer.WriteAttributeString(Saml2MetadataConstants.Attributes.WantAssertionsSigned, null, 3057writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ServiceDisplayName, null, wsDescriptor.ServiceDisplayName); 3062writer.WriteAttributeString(Saml2MetadataConstants.Attributes.ServiceDescription, null, wsDescriptor.ServiceDescription); 3315writer.WriteAttributeString("nil", XmlSchema.InstanceNamespace, XmlConvert.ToString(true));
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (6)
695writer.WriteAttributeString(WSC.Attributes.Nonce, WSC.Namespace, Convert.ToBase64String(nonce)); 708writer.WriteAttributeString(WSSE11.Attributes.TokenType, WSSE11.Namespace, SecurityTokenTypes.OasisWssSaml2TokenProfile11); 3219writer.WriteAttributeString(Saml2Constants.Attributes.OriginalIssuer, ClaimType2009Namespace, data.OriginalIssuer); 3240writer.WriteAttributeString("nil", XmlSchema.InstanceNamespace, XmlConvert.ToString(true)); 3247writer.WriteAttributeString("type", XmlSchema.InstanceNamespace, String.Concat(ProductConstants.ClaimValueTypeSerializationPrefixWithColon, xsiTypeSuffix)); 5387writer.WriteAttributeString("type", XmlSchema.InstanceNamespace, Saml2Constants.Types.KeyInfoConfirmationDataType);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (22)
1615writer.WriteAttributeString(SamlConstants.AttributeNames.Namespace, null, action.Namespace); 1879writer.WriteAttributeString(SamlConstants.AttributeNames.MajorVersion, null, Convert.ToString(SamlConstants.MajorVersionValue, CultureInfo.InvariantCulture)); 1880writer.WriteAttributeString(SamlConstants.AttributeNames.MinorVersion, null, Convert.ToString(SamlConstants.MinorVersionValue, CultureInfo.InvariantCulture)); 1881writer.WriteAttributeString(SamlConstants.AttributeNames.AssertionId, null, assertion.AssertionId); 1882writer.WriteAttributeString(SamlConstants.AttributeNames.Issuer, null, assertion.Issuer); 1883writer.WriteAttributeString(SamlConstants.AttributeNames.IssueInstant, null, assertion.IssueInstant.ToUniversalTime().ToString(DateTimeFormats.Generated, CultureInfo.InvariantCulture)); 1986writer.WriteAttributeString( 1995writer.WriteAttributeString( 2413writer.WriteAttributeString(SamlConstants.AttributeNames.NameIdentifierFormat, null, subject.NameFormat); 2417writer.WriteAttributeString(SamlConstants.AttributeNames.NameIdentifierNameQualifier, null, subject.NameQualifier); 2777writer.WriteAttributeString(SamlConstants.AttributeNames.AttributeName, null, attribute.Name); 2778writer.WriteAttributeString(SamlConstants.AttributeNames.AttributeNamespace, null, attribute.Namespace); 2783writer.WriteAttributeString(SamlConstants.AttributeNames.OriginalIssuer, ClaimType2009Namespace, SamlAttribute.OriginalIssuer); 2808writer.WriteAttributeString("type", XmlSchema.InstanceNamespace, String.Concat(ProductConstants.ClaimValueTypeSerializationPrefixWithColon, xsiTypeSuffix)); 2940writer.WriteAttributeString(SamlConstants.AttributeNames.AuthenticationMethod, null, statement.AuthenticationMethod); 2942writer.WriteAttributeString(SamlConstants.AttributeNames.AuthenticationInstant, null, 2954writer.WriteAttributeString(SamlConstants.AttributeNames.SubjectLocalityIPAddress, null, statement.IPAddress); 2959writer.WriteAttributeString(SamlConstants.AttributeNames.SubjectLocalityDNSAddress, null, statement.DnsAddress); 3083writer.WriteAttributeString(SamlConstants.AttributeNames.Location, null, authorityBinding.Location); 3085writer.WriteAttributeString(SamlConstants.AttributeNames.Binding, null, authorityBinding.Binding); 3240writer.WriteAttributeString(SamlConstants.AttributeNames.Decision, null, statement.AccessDecision.ToString()); 3242writer.WriteAttributeString(SamlConstants.AttributeNames.Resource, null, statement.Resource);
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (1)
790dicWriter.WriteAttributeString(WSUtilityConstants.Attributes.IdAttribute, WSUtilityConstants.NamespaceURI, sessionToken.Id);
System\IdentityModel\Tokens\UserNameSecurityTokenHandler.cs (2)
201writer.WriteAttributeString( 222writer.WriteAttributeString(
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (2)
662writer.WriteAttributeString(WSSecurityUtilityConstants.Attributes.Id, WSSecurityUtilityConstants.Namespace, x509Token.Id); 665writer.WriteAttributeString(WSSecurity10Constants.Attributes.ValueType, null, WSSecurity10Constants.X509TokenType);
System.ServiceModel (13)
System\ServiceModel\Channels\ContextMessageHeader.cs (1)
165writer.WriteAttributeString(ContextPropertyNameAttribute, null, pair.Key);
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
265writer.WriteAttributeString("encodingStyle", version.Envelope.Namespace, encoding);
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (1)
250writer.WriteAttributeString(Atom10Constants.Atom10Prefix, Atom10FeedFormatter.XmlNsNs, Atom10Constants.Atom10Namespace);
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (1)
750writer.WriteAttributeString(Atom10Constants.Atom10Prefix, Atom10FeedFormatter.XmlNsNs, Atom10Constants.Atom10Namespace);
System\ServiceModel\Syndication\ExtensibleSyndicationObject.cs (1)
115writer.WriteAttributeString(qname.Name, qname.Namespace, value);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (5)
1075writer.WriteAttributeString(Rss20Constants.DomainTag, Rss20Constants.Rss20Namespace, category.Scheme); 1330writer.WriteAttributeString(Rss20Constants.UrlTag, Rss20Constants.Rss20Namespace, FeedUtils.GetUriString(selfLink.Uri)); 1440writer.WriteAttributeString(Rss20Constants.UrlTag, Rss20Constants.Rss20Namespace, FeedUtils.GetUriString(link.Uri)); 1444writer.WriteAttributeString(Rss20Constants.TypeTag, Rss20Constants.Rss20Namespace, link.MediaType); 1448writer.WriteAttributeString(Rss20Constants.LengthTag, Rss20Constants.Rss20Namespace, Convert.ToString(link.Length, CultureInfo.InvariantCulture));
System\ServiceModel\Syndication\SyndicationContent.cs (2)
100writer.WriteAttributeString(Atom10Constants.TypeTag, string.Empty, this.Type); 112writer.WriteAttributeString(key.Name, key.Namespace, attrValue);
System\ServiceModel\Syndication\UrlSyndicationContent.cs (1)
55writer.WriteAttributeString(Atom10Constants.SourceTag, string.Empty, FeedUtils.GetUriString(this.url));
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\SerializationUtility.cs (1)
446writer.WriteAttributeString(
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (1)
198context.writer.WriteAttributeString(attribute.QualifiedName.Name, attribute.QualifiedName.Namespace, content);
System.Xml (13)
System\Xml\Serialization\XmlSerializationWriter.cs (13)
347w.WriteAttributeString("nil", XmlSchema.InstanceNamespace, "true"); 520w.WriteAttributeString("nil", XmlSchema.InstanceNamespace, "true"); 534w.WriteAttributeString("nil", XmlSchema.InstanceNamespace, "true"); 769w.WriteAttributeString("ref", Soap12.Encoding, GetId(o, true)); 801w.WriteAttributeString("id", Soap12.Encoding, GetId(o, addToReferencesList)); 847w.WriteAttributeString(localName, ns, value); 889w.WriteAttributeString(localName, null, value); 1123w.WriteAttributeString("itemType", Soap12.Encoding, GetQualifiedName(typeName, typeNs)); 1124w.WriteAttributeString("arraySize", Soap12.Encoding, arrayLength.ToString(CultureInfo.InvariantCulture)); 1127w.WriteAttributeString("arrayType", Soap.Encoding, GetQualifiedName(typeName, typeNs) + "[" + arrayLength.ToString(CultureInfo.InvariantCulture) + "]"); 1141w.WriteAttributeString("itemType", Soap12.Encoding, GetQualifiedName(typeName, typeNs)); 1143w.WriteAttributeString("arraySize", Soap12.Encoding, arrayLength.ToString(CultureInfo.InvariantCulture)); 1147w.WriteAttributeString("arrayType", Soap.Encoding, GetQualifiedName(typeName, typeNs) + brackets);