18 references to GetAttribute
dotnet-svcutil-lib (18)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\PrivacyNoticeBindingElementImporter.cs (1)
39
string versionString = privacyNoticeAssertion.
GetAttribute
(PrivacyNoticePolicyStrings.PrivacyNoticeVersionAttributeName, PrivacyNoticePolicyStrings.PrivacyNoticeNamespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransactionFlowBindingElementImporter.cs (3)
186
string value12 = elem.
GetAttribute
(TransactionPolicyStrings.OptionalLocal, MetadataStrings.WSPolicy.NamespaceUri);
187
string value15 = elem.
GetAttribute
(TransactionPolicyStrings.OptionalLocal, MetadataStrings.WSPolicy.NamespaceUri15);
192
string valueLegacy = elem.
GetAttribute
(TransactionPolicyStrings.OptionalLocal, TransactionPolicyStrings.OptionalNamespaceLegacy);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\PolicyReader.cs (2)
221
string id = element.
GetAttribute
(MetadataStrings.Wsu.Attributes.Id, MetadataStrings.Wsu.NamespaceUri);
225
id = element.
GetAttribute
(MetadataStrings.Xml.Attributes.Id, MetadataStrings.Xml.NamespaceUri);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\GenericXmlSecurityToken.cs (1)
126
string id = tokenXml.
GetAttribute
(UtilityStrings.IdAttribute, UtilityStrings.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (2)
263
string claimValue = claimRequirement.
GetAttribute
("Uri", string.Empty);
267
string optional = claimRequirement.
GetAttribute
("Optional", string.Empty);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (3)
1928
string optionalAttribute = tokenAssertion.
GetAttribute
(OptionalName, WspNamespace);
1932
optionalAttribute = tokenAssertion.
GetAttribute
(OptionalName, Wsp15Namespace);
1980
string includeTokenUri = assertion.
GetAttribute
(IncludeTokenName, this.WsspNamespaceUri);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityTokenSerializer.cs (3)
440
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.CannotReadToken, element.LocalName, element.NamespaceURI, element.
GetAttribute
(SecurityJan2004Strings.ValueType, null))));
486
string id = issuedTokenXml.
GetAttribute
(idAttributeLocalName, idAttributeNamespace);
500
valueTypeUri = element.
GetAttribute
(SecurityJan2004Strings.ValueType, null);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrust.cs (1)
98
valueTypeUri = element.
GetAttribute
(SecurityJan2004Strings.ValueType, null);
Metadata\MetadataDocumentSaver.cs (2)
351
id = policyElement.
GetAttribute
(MetadataConstants.Wsu.Attributes.Id, MetadataConstants.Wsu.NamespaceUri);
354
id = policyElement.
GetAttribute
(MetadataConstants.Xml.Attributes.Id, MetadataConstants.Xml.NamespaceUri);