46 instantiations of XmlName
System.ServiceModel (46)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (3)
174
XmlName operationName = new
XmlName
(ServiceReflector.GetLogicalName(methodInfo));
316
new
XmlName
(parameter.Name),
322
XmlName xmlName = new
XmlName
(methodName);
System\ServiceModel\Description\ContractDescription.cs (1)
84
this.name = new
XmlName
(value, true /*isEncoded*/);
System\ServiceModel\Description\FaultDescription.cs (1)
57
set { SetNameAndElement(new
XmlName
(value, true /*isEncoded*/)); }
System\ServiceModel\Description\MessageBodyDescription.cs (1)
61
set { wrapperName = new
XmlName
(value, true /*isEncoded*/); }
System\ServiceModel\Description\MessageContractImporter.cs (5)
603
faultDescription.ElementName = new
XmlName
(detailElementQname.Name, true /*isEncoded*/);
697
description.Body.WrapperName = new
XmlName
(part.Element.Name, true /*isEncoded*/).EncodedName;
737
messageDescription.Body.WrapperName = new
XmlName
(elementName.Name, true /*isEncoded*/).EncodedName;
2036
XmlName memberName = new
XmlName
(elementName.Name, true /*isEncoded*/);
2057
XmlName memberName = new
XmlName
(part.Name, true /*isEncoded*/);
System\ServiceModel\Description\MessagePartDescription.cs (1)
38
this.name = new
XmlName
(name, true /*isEncoded*/);
System\ServiceModel\Description\OperationDescription.cs (1)
47
this.name = new
XmlName
(name, true /*isEncoded*/);
System\ServiceModel\Description\OperationGenerator.cs (3)
721
XmlName xmlPartName = new
XmlName
(partName);
737
TypedMessageHelper.GenerateMessageHeaderAttribute(setting, partAttributes, new
XmlName
(partName));
912
XmlName defaultName = new
XmlName
(parent.DefaultName);
System\ServiceModel\Description\ServiceDescription.cs (2)
71
serviceName = new
XmlName
(value, true /*isEncoded*/);
128
serviceDescription.Name = new
XmlName
(serviceBehavior.Name).EncodedName;
System\ServiceModel\Description\ServiceEndpoint.cs (2)
109
return String.Format(CultureInfo.InvariantCulture, "{0}_{1}", new
XmlName
(Binding.Name).EncodedName, Contract.Name);
118
name = new
XmlName
(value, true /*isEncoded*/);
System\ServiceModel\Description\ServiceReflector.cs (2)
75
XmlName xmlName = new
XmlName
(name ?? TypeName(contractType));
89
return new
XmlName
(String.IsNullOrEmpty(name) ? logicalMethodName : name);
System\ServiceModel\Description\TypeLoader.cs (15)
605
return new
XmlName
(operationName + ResponseSuffix);
610
return new
XmlName
(operationName.EncodedName + ResponseSuffix, true /*isEncoded*/);
1052
XmlName faultName = new
XmlName
(attr.Name ?? NamingHelper.TypeName(attr.DetailType) + FaultSuffix);
1180
MessagePartDescription partDescription = CreateParameterPartDescription(new
XmlName
(parameters[index].Name), defaultNS, index, parameters[index], GetParameterType(parameters[index]));
1209
XmlName name = paramAttr == null || !paramAttr.IsNameSetExplicit ? defaultName : new
XmlName
(paramAttr.Name);
1239
messageDescription.MessageName = new
XmlName
(NamingHelper.TypeName(typedMessageType));
1321
new
XmlName
(memberInfo.Name),
1329
new
XmlName
(memberInfo.Name),
1336
new
XmlName
(memberInfo.Name),
1385
XmlName partName = bodyAttr.IsNameSetExplicit ? new
XmlName
(bodyAttr.Name) : defaultName;
1413
XmlName headerName = headerAttr.IsNameSetExplicit ? new
XmlName
(headerAttr.Name) : defaultName;
1461
XmlName propertyName = attr.IsNameSetExplicit ? new
XmlName
(attr.Name) : defaultName;
1475
return new
XmlName
(methodName.EncodedName + ReturnSuffix, true);
1480
return new
XmlName
(methodName + ReturnSuffix);
1500
return new
XmlName
(wrapperName);
System\ServiceModel\Description\WsdlImporter.cs (5)
527
faultDescription.SetNameOnly(new
XmlName
(wsdlOperationFault.Name, true /*isEncoded*/));
1186
XmlName xmlName = new
XmlName
(wsdlBinding.Name, true /*isEncoded*/);
1193
XmlName xmlName = new
XmlName
(string.Format(CultureInfo.InvariantCulture, "{0}_{1}", wsdlPort.Service.Name, wsdlPort.Name), true /*isEncoded*/);
1199
return new
XmlName
(wsdlPort.Name, true /*isEncoded*/);
1240
return new
XmlName
(messageName, true /*isEncoded*/);
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (4)
551
XmlName xmlName = new
XmlName
(member.Name);
605
return this.parent.importer.ImportMembersMapping(new
XmlName
(elementName, true /*isEncoded*/), ns, members, hasWrapperElement, rpc, this.IsEncoded, key);
618
faultElementName = new
XmlName
(mapping.ElementName, this.IsEncoded);
941
XmlName memberName = string.IsNullOrEmpty(part.UniquePartName) ? null : new
XmlName
(part.UniquePartName, true /*isEncoded*/);
97 references to XmlName
System.ServiceModel (97)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (6)
174
XmlName
operationName = new XmlName(ServiceReflector.GetLogicalName(methodInfo));
175
XmlName
returnValueName = TypeLoader.GetReturnValueName(operationName);
269
XmlName
returnValueName,
291
XmlName
returnValueName,
322
XmlName
xmlName = new XmlName(methodName);
350
XmlName
name,
System\ServiceModel\Description\ContractDescription.cs (1)
21
XmlName
name;
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
184
public void AddMemberAttributes(
XmlName
messageName, MessagePartDescription part, CodeAttributeDeclarationCollection attributesImported, CodeAttributeDeclarationCollection typeAttributes, CodeAttributeDeclarationCollection fieldAttributes)
System\ServiceModel\Description\FaultDescription.cs (5)
20
XmlName
elementName;
21
XmlName
name;
66
internal
XmlName
ElementName
100
internal void SetNameAndElement(
XmlName
name)
105
internal void SetNameOnly(
XmlName
name)
System\ServiceModel\Description\MessageBodyDescription.cs (1)
15
private
XmlName
wrapperName;
System\ServiceModel\Description\MessageContractExporter.cs (2)
230
if (
XmlName
.IsNullOrEmpty(fault.ElementName))
505
string messageNameBase =
XmlName
.IsNullOrEmpty(messageDescription.MessageName) ? null : messageDescription.MessageName.EncodedName;
System\ServiceModel\Description\MessageContractImporter.cs (2)
2036
XmlName
memberName = new XmlName(elementName.Name, true /*isEncoded*/);
2057
XmlName
memberName = new XmlName(part.Name, true /*isEncoded*/);
System\ServiceModel\Description\MessageDescription.cs (2)
23
XmlName
messageName;
135
internal
XmlName
MessageName
System\ServiceModel\Description\MessagePartDescription.cs (2)
17
XmlName
name;
75
internal
XmlName
XmlName
System\ServiceModel\Description\OperationDescription.cs (2)
18
XmlName
name;
210
internal
XmlName
XmlName
System\ServiceModel\Description\OperationGenerator.cs (10)
22
void AddMemberAttributes(
XmlName
messageName, MessagePartDescription part, CodeAttributeDeclarationCollection attributesImported, CodeAttributeDeclarationCollection typeAttributes, CodeAttributeDeclarationCollection fieldAttributes);
314
string messageName =
XmlName
.IsNullOrEmpty(message.MessageName) ? null : message.MessageName.DecodedName;
601
string messageName =
XmlName
.IsNullOrEmpty(messageDescription.MessageName) ? null : messageDescription.MessageName.DecodedName;
687
void AddWrapperPart(
XmlName
messageName, IWrappedBodyTypeGenerator wrappedBodyTypeGenerator, IPartCodeGenerator partGenerator, MessagePartDescription part, CodeAttributeDeclarationCollection typeAttributes)
721
XmlName
xmlPartName = new XmlName(partName);
842
internal static void GenerateMessageBodyMemberAttribute(int order, MessagePartDescription setting, CodeAttributeDeclarationCollection attributes,
XmlName
defaultName)
847
internal static void GenerateMessageHeaderAttribute(MessageHeaderDescription setting, CodeAttributeDeclarationCollection attributes,
XmlName
defaultName)
855
static void GenerateMessageContractMemberAttribute<T>(int order, MessagePartDescription setting, CodeAttributeDeclarationCollection attrs,
XmlName
defaultName)
879
internal static void GenerateMessageParameterAttribute(MessagePartDescription setting, CodeAttributeDeclarationCollection attributes,
XmlName
defaultName, string defaultNS)
912
XmlName
defaultName = new XmlName(parent.DefaultName);
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
673
if (!
XmlName
.IsNullOrEmpty(fault.ElementName))
System\ServiceModel\Description\ServiceDescription.cs (1)
25
XmlName
serviceName;
System\ServiceModel\Description\ServiceEndpoint.cs (2)
28
XmlName
name;
102
if (!
XmlName
.IsNullOrEmpty(name))
System\ServiceModel\Description\ServiceReflector.cs (11)
75
XmlName
xmlName = new XmlName(name ?? TypeName(contractType));
87
internal static
XmlName
GetOperationName(string logicalMethodName, string name)
271
internal static bool IsNullOrEmpty(
XmlName
xmlName)
276
bool Matches(
XmlName
xmlName)
293
XmlName
xmlName = obj as
XmlName
;
318
public static bool operator ==(
XmlName
a,
XmlName
b)
328
public static bool operator !=(
XmlName
a,
XmlName
b)
865
static internal
XmlName
GetOperationName(MethodInfo method)
System\ServiceModel\Description\TypeLoader.cs (31)
600
internal static
XmlName
GetBodyWrapperResponseName(string operationName)
608
internal static
XmlName
GetBodyWrapperResponseName(
XmlName
operationName)
818
XmlName
operationName = NamingHelper.GetOperationName(ServiceReflector.GetLogicalName(methodInfo, isAsync, isTask), opAttr.Name);
956
XmlName
wrapperName = operationName;
957
XmlName
wrapperResponseName = GetBodyWrapperResponseName(operationName);
991
XmlName
returnValueName = GetReturnValueName(operationName);
1038
if (
XmlName
.IsNullOrEmpty(existingFault.ElementName) &&
XmlName
.IsNullOrEmpty(fault.ElementName) && existingFault.DetailType == fault.DetailType)
1041
if (!
XmlName
.IsNullOrEmpty(existingFault.ElementName) && !
XmlName
.IsNullOrEmpty(fault.ElementName) && existingFault.ElementName == fault.ElementName && existingFault.Namespace == fault.Namespace)
1050
XmlName
operationName)
1052
XmlName
faultName = new XmlName(attr.Name ?? NamingHelper.TypeName(attr.DetailType) + FaultSuffix);
1071
XmlName
returnValueName,
1074
XmlName
wrapperName,
1156
XmlName
returnValueName,
1160
XmlName
wrapperName,
1204
private static MessagePartDescription CreateParameterPartDescription(
XmlName
defaultName, string defaultNS, int index, ICustomAttributeProvider attrProvider, Type type)
1209
XmlName
name = paramAttr == null || !paramAttr.IsNameSetExplicit ? defaultName : new XmlName(paramAttr.Name);
1220
XmlName
returnValueName,
1370
XmlName
defaultName,
1385
XmlName
partName = bodyAttr.IsNameSetExplicit ? new XmlName(bodyAttr.Name) : defaultName;
1406
XmlName
defaultName,
1413
XmlName
headerName = headerAttr.IsNameSetExplicit ? new XmlName(headerAttr.Name) : defaultName;
1457
XmlName
defaultName,
1461
XmlName
propertyName = attr.IsNameSetExplicit ? new XmlName(attr.Name) : defaultName;
1473
internal static
XmlName
GetReturnValueName(
XmlName
methodName)
1478
internal static
XmlName
GetReturnValueName(string methodName)
1496
internal static
XmlName
GetWrapperName(string wrapperName,
XmlName
defaultName)
System\ServiceModel\Description\WsdlExporter.cs (2)
286
if (!
XmlName
.IsNullOrEmpty(message.MessageName))
396
if (!
XmlName
.IsNullOrEmpty(messageDescription.MessageName))
System\ServiceModel\Description\WsdlImporter.cs (5)
1066
XmlName
operationMessageName = WsdlNamingHelper.GetOperationMessageName(wsdlOperationMessage);
1186
XmlName
xmlName = new XmlName(wsdlBinding.Name, true /*isEncoded*/);
1193
XmlName
xmlName = new XmlName(string.Format(CultureInfo.InvariantCulture, "{0}_{1}", wsdlPort.Service.Name, wsdlPort.Name), true /*isEncoded*/);
1197
internal static
XmlName
GetEndpointName(WsdlNS.Port wsdlPort)
1212
internal static
XmlName
GetOperationMessageName(WsdlNS.OperationMessage wsdlOperationMessage)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (8)
398
XmlName
responseName = TypeLoader.GetBodyWrapperResponseName(this.Operation.Name);
551
XmlName
xmlName = new XmlName(member.Name);
613
XmlName
faultElementName = fault.ElementName;
684
internal XmlMembersMapping ImportMembersMapping(
XmlName
elementName, string ns, XmlReflectionMember[] members, bool hasWrapperElement, bool rpc, bool isEncoded, string mappingKey)
941
XmlName
memberName = string.IsNullOrEmpty(part.UniquePartName) ? null : new XmlName(part.UniquePartName, true /*isEncoded*/);
942
XmlName
elementName = part.XmlName;
946
static internal XmlReflectionMember GetXmlReflectionMember(
XmlName
memberName,
XmlName
elementName, string ns, Type type, ICustomAttributeProvider additionalAttributesProvider, bool isMultiple, bool isEncoded, bool isWrapped)
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
240
public void AddMemberAttributes(
XmlName
messageName, MessagePartDescription part, CodeAttributeDeclarationCollection importedAttributes, CodeAttributeDeclarationCollection typeAttributes, CodeAttributeDeclarationCollection fieldAttributes)
System\ServiceModel\Dispatcher\FaultContractInfo.cs (1)
26
internal FaultContractInfo(string action, Type detail,
XmlName
elementName, string ns, IList<Type> knownTypes)