3 overrides of GetAttribute
System.Runtime.Serialization (3)
System\Xml\XmlBaseReader.cs (1)
672public override string GetAttribute(XmlDictionaryString localName, XmlDictionaryString namespaceUri)
System\Xml\XmlMtomReader.cs (2)
538public override string GetAttribute(XmlDictionaryString localName, XmlDictionaryString ns) 1474public override string GetAttribute(XmlDictionaryString localName, XmlDictionaryString ns)
115 references to GetAttribute
System.IdentityModel (76)
System\IdentityModel\ExclusiveCanonicalizationTransform.cs (2)
170algorithm = reader.GetAttribute(dictionaryManager.XmlSignatureDictionary.Algorithm, null); 203this.InclusiveNamespacesPrefixList = reader.GetAttribute(dictionaryManager.ExclusiveC14NDictionary.PrefixList, null);
System\IdentityModel\SignedXml.cs (6)
310this.Id = reader.GetAttribute(dictionaryManager.UtilityDictionary.IdAttribute, null); 758this.Id = reader.GetAttribute(dictionaryManager.UtilityDictionary.IdAttribute, null); 1233this.Uri = reader.GetAttribute(dictionaryManager.XmlSignatureDictionary.URI, null); 1234this.Type = reader.GetAttribute(dictionaryManager.XmlSignatureDictionary.Type, null); 1384string transformAlgorithmUri = reader.GetAttribute(dictionaryManager.XmlSignatureDictionary.Algorithm, null); 1454this.algorithm = reader.GetAttribute(dictionaryManager.XmlSignatureDictionary.Algorithm, null);
System\IdentityModel\StrTransform.cs (2)
153string algorithm = reader.GetAttribute(dictionaryManager.XmlSignatureDictionary.Algorithm, null); 244string algorithm = reader.GetAttribute(dictionaryManager.XmlSignatureDictionary.Algorithm, null);
System\IdentityModel\Tokens\KeyInfoSerializer.cs (1)
135throw DiagnosticUtility.ExceptionUtility.ThrowHelperError( new XmlException( SR.GetString( SR.CannotReadToken, reader.LocalName, reader.NamespaceURI, localReader.GetAttribute( XD.SecurityJan2004Dictionary.ValueType, null ) ) ) );
System\IdentityModel\Tokens\SamlAction.cs (1)
97this.ns = reader.GetAttribute(dictionary.ActionNamespaceAttribute, null);
System\IdentityModel\Tokens\SamlAssertion.cs (5)
500string attributeValue = wrappedReader.GetAttribute(dictionary.MajorVersion, null); 505attributeValue = wrappedReader.GetAttribute(dictionary.MinorVersion, null); 516attributeValue = wrappedReader.GetAttribute(dictionary.AssertionId, null); 525attributeValue = wrappedReader.GetAttribute(dictionary.Issuer, null); 530attributeValue = wrappedReader.GetAttribute(dictionary.IssueInstant, null);
System\IdentityModel\Tokens\SamlAttribute.cs (2)
227this.name = reader.GetAttribute(dictionary.AttributeName, null); 231this.nameSpace = reader.GetAttribute(dictionary.AttributeNamespace, null);
System\IdentityModel\Tokens\SamlAuthenticationStatement.cs (4)
176string authInstance = reader.GetAttribute(dictionary.AuthenticationInstant, null); 182this.authenticationMethod = reader.GetAttribute(dictionary.AuthenticationMethod, null); 203this.dnsAddress = reader.GetAttribute(dictionary.SubjectLocalityDNSAddress, null); 204this.ipAddress = reader.GetAttribute(dictionary.SubjectLocalityIPAddress, null);
System\IdentityModel\Tokens\SamlAuthorityBinding.cs (3)
121string authKind = reader.GetAttribute(dictionary.AuthorityKind, null); 147this.binding = reader.GetAttribute(dictionary.Binding, null); 151this.location = reader.GetAttribute(dictionary.Location, null);
System\IdentityModel\Tokens\SamlAuthorizationDecisionStatement.cs (2)
166this.resource = reader.GetAttribute(dictionary.Resource, null); 170string decisionString = reader.GetAttribute(dictionary.Decision, null);
System\IdentityModel\Tokens\SamlConditions.cs (2)
113string time = reader.GetAttribute(dictionary.NotBefore, null); 118time = reader.GetAttribute(dictionary.NotOnOrAfter, null);
System\IdentityModel\Tokens\SamlSubject.cs (2)
273this.nameFormat = reader.GetAttribute(dictionary.NameIdentifierFormat, null); 274this.nameQualifier = reader.GetAttribute(dictionary.NameIdentifierNameQualifier, null);
System\IdentityModel\Tokens\SessionSecurityToken.cs (15)
381if (reader.GetAttribute(dictionary.PersistentTrue, dictionary.EmptyString) == null) 386if (reader.GetAttribute(dictionary.ReferenceModeTrue, dictionary.EmptyString) != null) 921string nameClaimType = dictionaryReader.GetAttribute(dictionary.NameClaimType, dictionary.EmptyString); 924string roleClaimType = dictionaryReader.GetAttribute(dictionary.RoleClaimType, dictionary.EmptyString); 927string logonName = dictionaryReader.GetAttribute(dictionary.WindowsLogonName, dictionary.EmptyString); 928string authenticationType = dictionaryReader.GetAttribute(dictionary.AuthenticationType, dictionary.EmptyString); 945identity.Label = dictionaryReader.GetAttribute(dictionary.Label, dictionary.EmptyString); 1111Claim claim = new Claim(dictionaryReader.GetAttribute(dictionary.Type, dictionary.EmptyString), 1112dictionaryReader.GetAttribute(dictionary.Value, dictionary.EmptyString), 1113dictionaryReader.GetAttribute(dictionary.ValueType, dictionary.EmptyString), 1114dictionaryReader.GetAttribute(dictionary.Issuer, dictionary.EmptyString), 1115dictionaryReader.GetAttribute(dictionary.OriginalIssuer, dictionary.EmptyString)); 1165string name = dictionaryReader.GetAttribute(dictionary.ClaimPropertyName, dictionary.EmptyString); 1166string value = dictionaryReader.GetAttribute(dictionary.ClaimPropertyValue, dictionary.EmptyString); 1762string right = reader.GetAttribute(dictionary.Right, dictionary.EmptyString);
System\IdentityModel\Tokens\WSSecurityJan2004.cs (17)
231string nonceString = reader.GetAttribute(XD.SecureConversationFeb2005Dictionary.Nonce, XD.SecureConversationFeb2005Dictionary.Namespace); 237string lengthString = reader.GetAttribute(XD.SecureConversationFeb2005Dictionary.Length, XD.SecureConversationFeb2005Dictionary.Namespace); 248string strId = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 325string valueType = reader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null); 340string encodingType = reader.GetAttribute(XD.SecurityJan2004Dictionary.EncodingType, null); 506string uri = reader.GetAttribute(XD.SecurityJan2004Dictionary.URI, null); 517string uri = reader.GetAttribute(XD.SecurityJan2004Dictionary.URI, null); 518string tokenTypeUri = reader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null); 574string valueType = reader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null); 608binding = reader.GetAttribute(XD.SamlDictionary.Binding, null); 613location = reader.GetAttribute(XD.SamlDictionary.Location, null); 618authorityKind = reader.GetAttribute(XD.SamlDictionary.AuthorityKind, null); 640valueType = reader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null); 717string valueType = reader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null); 734string assertionId = reader.GetAttribute(XD.SecurityJan2004Dictionary.URI, null); 843return reader.GetAttribute(XD.XmlEncryptionDictionary.Id, null); 847return reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace);
System\IdentityModel\Tokens\WSSecurityXXX2005.cs (2)
65return reader.GetAttribute(XD.SecurityXXX2005Dictionary.TokenTypeAttribute, XD.SecurityXXX2005Dictionary.Namespace); 223string samlUri = reader.GetAttribute(XD.SecurityJan2004Dictionary.URI, null);
System\IdentityModel\Tokens\XmlEncApr2001.cs (1)
62encryptionMethod = reader.GetAttribute(XD.XmlEncryptionDictionary.AlgorithmAttribute, null);
System\IdentityModel\XmlHelper.cs (1)
54string value = reader.GetAttribute(attributeName, null);
System\ServiceModel\Security\EncryptedKey.cs (1)
76this.recipient = reader.GetAttribute(RecipientAttribute, null);
System\ServiceModel\Security\EncryptedType.cs (7)
224this.encoding = reader.GetAttribute(EncodingAttribute, null); 225this.id = reader.GetAttribute(XD.XmlEncryptionDictionary.Id, null) ?? SecurityUniqueId.Create().Value; 226this.wsuId = reader.GetAttribute(XD.XmlEncryptionDictionary.Id, XD.UtilityDictionary.Namespace) ?? SecurityUniqueId.Create().Value; 227this.mimeType = reader.GetAttribute(MimeTypeAttribute, null); 228this.type = reader.GetAttribute(TypeAttribute, null); 300string strId = localReader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 415this.algorithm = reader.GetAttribute(XD.XmlSignatureDictionary.Algorithm, null);
System.Runtime.Serialization (1)
System\Xml\XmlMtomReader.cs (1)
540return xmlReader.GetAttribute(localName, ns);
System.ServiceModel (38)
System\ServiceModel\Channels\MessageHeader.cs (4)
201string mustUnderstandString = reader.GetAttribute(XD.MessageDictionary.MustUnderstand, version.Envelope.DictionaryNamespace); 214actor = reader.GetAttribute(version.Envelope.DictionaryActor, version.Envelope.DictionaryNamespace); 220string relayString = reader.GetAttribute(XD.Message12Dictionary.Relay, version.Envelope.DictionaryNamespace); 235string refParam = reader.GetAttribute(XD.AddressingDictionary.IsReferenceParameter, version.Addressing.DictionaryNamespace);
System\ServiceModel\Security\EncryptedHeaderXml.cs (1)
154this.id = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace);
System\ServiceModel\Security\ReceiveSecurityHeader.cs (1)
1631string valueType = reader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null);
System\ServiceModel\Security\SctClaimSerializer.cs (4)
40string right = reader.GetAttribute(dictionary.Right, dictionary.EmptyString); 53byte[] sidBytes = Convert.FromBase64String(reader.GetAttribute(dictionary.Sid, dictionary.EmptyString)); 504string authenticationType = reader.GetAttribute(dictionary.AuthenticationType, dictionary.EmptyString); 512string authenticationType = reader.GetAttribute(dictionary.AuthenticationType, dictionary.EmptyString);
System\ServiceModel\Security\WSSecureConversation.cs (3)
138id = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 140derivationAlgorithm = reader.GetAttribute(XD.XmlSignatureDictionary.Algorithm, null); 432string id = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace);
System\ServiceModel\Security\WSSecurityJan2004.cs (7)
145string wsuId = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 146string valueTypeUri = reader.GetAttribute(ValueTypeAttribute, null); 147string encoding = reader.GetAttribute(EncodingTypeAttribute, null); 431string type = reader.GetAttribute(XD.SecurityJan2004Dictionary.TypeAttribute, null); 447id = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 674return reader.GetAttribute(XD.XmlEncryptionDictionary.Id, null); 678return reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace);
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (7)
231string encryptedDataId = localreader.GetAttribute(XD.XmlEncryptionDictionary.Id, null); 522string strId = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 613id = toHeaderReader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 738presentInCurrentVersion = null != reader.GetAttribute(XD.MessageDictionary.MustUnderstand, currentVersion.DictionaryNamespace); 739presentInOtherVersion = null != reader.GetAttribute(XD.MessageDictionary.MustUnderstand, otherVersion.DictionaryNamespace); 749presentInCurrentVersion = null != reader.GetAttribute(currentVersion.DictionaryActor, currentVersion.DictionaryNamespace); 750presentInOtherVersion = null != reader.GetAttribute(otherVersion.DictionaryActor, otherVersion.DictionaryNamespace);
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (2)
244throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.CannotReadToken, reader.LocalName, reader.NamespaceURI, localReader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null)))); 546reader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null) == this.ValueTypeUri;
System\ServiceModel\Security\WSTrust.cs (4)
109reader.GetAttribute(XD.SecurityJan2004Dictionary.ValueType, null) == this.ValueTypeUri; 132string secretType = reader.GetAttribute(XD.SecurityJan2004Dictionary.TypeAttribute, null); 133string id = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 965string strId = localReader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace);
System\ServiceModel\Security\WSUtilitySpecificationVersion.cs (1)
97string id = reader.GetAttribute(XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace);
System\ServiceModel\Security\XmlHelper.cs (2)
227string value = reader.GetAttribute(attributeName, null); 243string value = reader.GetAttribute(name, ns);
System\ServiceModel\Transactions\OletxTransactionHeader.cs (2)
124string identifier = reader.GetAttribute(XD.CoordinationExternalDictionary.Identifier, CoordinationNamespace); 136string attr = reader.GetAttribute(XD.CoordinationExternalDictionary.Expires, CoordinationNamespace);