59 references to EncodedName
System.ServiceModel (59)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (5)
183
if (contract.Operations.FindAll(operationName.
EncodedName
).Count != 0)
190
OperationDescription operationDescription = new OperationDescription(operationName.
EncodedName
, contract);
325
messageDescription.Body.WrapperName = xmlName.
EncodedName
;
329
messageDescription.Body.WrapperName = TypeLoader.GetBodyWrapperResponseName(xmlName).
EncodedName
;
354
MessagePartDescription partDescription = new MessagePartDescription(name.
EncodedName
, ns);
System\ServiceModel\Description\ContractDescription.cs (1)
71
get { return this.name.
EncodedName
; }
System\ServiceModel\Description\FaultDescription.cs (1)
56
get { return name.
EncodedName
; }
System\ServiceModel\Description\MessageBodyDescription.cs (1)
60
get { return wrapperName == null ? null : wrapperName.
EncodedName
; }
System\ServiceModel\Description\MessageContractExporter.cs (2)
237
elementName = new XmlQualifiedName(fault.ElementName.
EncodedName
, fault.Namespace);
505
string messageNameBase = XmlName.IsNullOrEmpty(messageDescription.MessageName) ? null : messageDescription.MessageName.
EncodedName
;
System\ServiceModel\Description\MessageContractImporter.cs (5)
567
response.Body.WrapperName = TypeLoader.GetBodyWrapperResponseName(operation.Name).
EncodedName
;
697
description.Body.WrapperName = new XmlName(part.Element.Name, true /*isEncoded*/).
EncodedName
;
737
messageDescription.Body.WrapperName = new XmlName(elementName.Name, true /*isEncoded*/).
EncodedName
;
2040
schemaMember.MemberName = memberName.
EncodedName
;
2061
schemaMember.MemberName = memberName.
EncodedName
;
System\ServiceModel\Description\MessagePartDescription.cs (1)
87
get { return this.name.
EncodedName
; }
System\ServiceModel\Description\OperationDescription.cs (1)
222
get { return name.
EncodedName
; }
System\ServiceModel\Description\OperationGenerator.cs (6)
860
if (setting.Name != defaultName.
EncodedName
)
881
if (setting.Name != defaultName.
EncodedName
)
913
if (!String.Equals(parent.Request.Body.WrapperName, defaultName.
EncodedName
, StringComparison.Ordinal))
914
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_DifferentWrapperName, parent.Request.MessageName, parent.Request.Body.WrapperName, defaultName.
EncodedName
)));
921
if (!String.Equals(parent.Response.Body.WrapperName, TypeLoader.GetBodyWrapperResponseName(defaultName).
EncodedName
, StringComparison.Ordinal))
922
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_DifferentWrapperName, parent.Response.MessageName, parent.Response.Body.WrapperName, defaultName.
EncodedName
)));
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
674
faultContractAttr.Arguments.Add(new CodeAttributeArgument("Name", new CodePrimitiveExpression(fault.ElementName.
EncodedName
)));
System\ServiceModel\Description\ServiceDescription.cs (2)
56
return serviceName.
EncodedName
;
128
serviceDescription.Name = new XmlName(serviceBehavior.Name).
EncodedName
;
System\ServiceModel\Description\ServiceEndpoint.cs (2)
104
return name.
EncodedName
;
109
return String.Format(CultureInfo.InvariantCulture, "{0}_{1}", new XmlName(Binding.Name).
EncodedName
, Contract.Name);
System\ServiceModel\Description\ServiceReflector.cs (5)
81
return new XmlQualifiedName(xmlName.
EncodedName
, ns);
278
return string.Equals(this.
EncodedName
, xmlName.
EncodedName
, StringComparison.Ordinal);
304
if (string.IsNullOrEmpty(
EncodedName
))
306
return
EncodedName
.GetHashCode();
System\ServiceModel\Description\TypeLoader.cs (15)
610
return new XmlName(operationName.
EncodedName
+ ResponseSuffix, true /*isEncoded*/);
820
opAttr.EnsureInvariants(methodInfo, operationName.
EncodedName
);
822
Collection<OperationDescription> operations = contractDescription.Operations.FindAll(operationName.
EncodedName
);
910
OperationDescription operationDescription = new OperationDescription(operationName.
EncodedName
, declaringContract);
928
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.OneWayAndFaultsIncompatible2, methodInfo.DeclaringType.FullName, operationName.
EncodedName
)));
935
CheckDuplicateFaultContract(operationDescription.Faults, faultDescription, operationName.
EncodedName
);
1197
messageDescription.Body.WrapperName = wrapperName.
EncodedName
;
1210
parameterPart = new MessagePartDescription(name.
EncodedName
, defaultNS);
1242
messageDescription.Body.WrapperName = GetWrapperName(messageContractAttribute.WrapperName, messageDescription.MessageName).
EncodedName
;
1380
partDescription = new MessagePartDescription(defaultName.
EncodedName
, defaultNS);
1387
partDescription = new MessagePartDescription(partName.
EncodedName
, partNs);
1415
headerDescription = new MessageHeaderDescription(headerName.
EncodedName
, headerNs);
1416
headerDescription.UniquePartName = defaultName.
EncodedName
;
1462
MessagePropertyDescription propertyDescription = new MessagePropertyDescription(propertyName.
EncodedName
);
1475
return new XmlName(methodName.
EncodedName
+ ReturnSuffix, true);
System\ServiceModel\Description\WsdlExporter.cs (2)
287
wsdlOperationMessage.Name = message.MessageName.
EncodedName
;
397
wsdlMessageBinding.Name = messageDescription.MessageName.
EncodedName
;
System\ServiceModel\Description\WsdlImporter.cs (4)
458
endpoint.Name = WsdlNamingHelper.GetEndpointName(wsdlPort).
EncodedName
;
1072
string actionUri = string.Format(CultureInfo.InvariantCulture, "{0}{1}{2}{3}", baseActionUri, portTypeName, delimiter, operationMessageName.
EncodedName
);
1187
return new XmlQualifiedName(xmlName.
EncodedName
, wsdlBinding.ServiceDescription.TargetNamespace);
1194
return new XmlQualifiedName(xmlName.
EncodedName
, wsdlPort.Service.ServiceDescription.TargetNamespace);
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (4)
399
if (this.reply != null && this.IsRpc && this.Operation.IsValidateRpcWrapperName && this.reply.BodyMapping.XsdElementName != responseName.
EncodedName
)
400
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[1].MessageName, reply.BodyMapping.XsdElementName, responseName.
EncodedName
)));
552
MessagePartDescription part = new MessagePartDescription(xmlName.
EncodedName
, string.Empty);
630
return ImportMembersMapping(faultElementName.
EncodedName
, faultNamespace, members, false /*hasWrapperElement*/, this.IsRpc, mappingKey);
System\ServiceModel\Dispatcher\FaultContractInfo.cs (1)
40
this.elementName = elementName.
EncodedName
;