26 writes to Name
dotnet-svcutil-lib (26)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (11)
260wsdlPortType.Name = wsdlPortTypeQName.Name; 272wsdlOperation.Name = WsdlNamingHelper.GetWsdlOperationName(operation, contract); 287wsdlOperationMessage.Name = message.MessageName.EncodedName; 300wsdlOperationFault.Name = fault.Name; 321wsdlBinding.Name = wsdlBindingQName.Name; 351wsdlPort.Name = wsdlPortName; 378wsdlOperationBinding.Name = WsdlNamingHelper.GetWsdlOperationName(operation, contract); 397wsdlMessageBinding.Name = messageDescription.MessageName.EncodedName; 407wsdlFaultBinding.Name = faultDescription.Name; 513wsdlService.Name = wsdlServiceQName.Name; 516wsdl.Name = wsdlService.Name;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (15)
5234o.@Name = Reader.Value; 5342o.@Name = Reader.Value; 5423o.@Name = Reader.Value; 5701o.@Name = Reader.Value; 5800o.@Name = Reader.Value; 5903o.@Name = Reader.Value; 6160o.@Name = Reader.Value; 7190o.@Name = Reader.Value; 7831o.@Name = Reader.Value; 7914o.@Name = Reader.Value; 8008o.@Name = Reader.Value; 8090o.@Name = Reader.Value; 8172o.@Name = Reader.Value; 8255o.@Name = Reader.Value; 8336o.@Name = Reader.Value;
160 references to Name
dotnet-svcutil-lib (160)
CodeSerializer.cs (4)
141if (!string.IsNullOrEmpty(wsdl.Name)) 143fileName = XmlConvert.DecodeName(wsdl.Name); 155if (wsdl.Services.Count > 0 && !string.IsNullOrEmpty(wsdl.Services[0].Name)) 157fileName = XmlConvert.DecodeName(wsdl.Services[0].Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (2)
211XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(context.WsdlBinding.Name, context.WsdlBinding.ServiceDescription.TargetNamespace); 217XmlQualifiedName key = new XmlQualifiedName(context.WsdlBinding.Name, context.WsdlBinding.ServiceDescription.TargetNamespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (55)
311throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlOperationInputNeedsMessageAttribute2, wsdlOperation.Name, wsdlOperation.PortType.Name))); 313throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlOperationOutputNeedsMessageAttribute2, wsdlOperation.Name, wsdlOperation.PortType.Name))); 332AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationUseInBindingMessages, messageBinding.OperationBinding.Name, messageBinding.OperationBinding.Binding.Name)); 344AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationUseInBindingFaults, faultBinding.OperationBinding.Name, faultBinding.OperationBinding.Binding.Name)); 361operation.Name, operationBinding.Binding.Name, GetUse(operationStyleAndUse), GetStyle(operationStyleAndUse), 362prevOperationBinding.Binding.Name, GetUse(styleAndUse.Value), GetStyle(styleAndUse.Value))); 381throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlOperationInputNeedsMessageAttribute2, wsdlOperation.Name, wsdlOperation.PortType.Name))); 383throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlOperationOutputNeedsMessageAttribute2, wsdlOperation.Name, wsdlOperation.PortType.Name))); 388if (!CanImportMessage(wsdlMessage, wsdlOperationMessage.Name, out inferredMessageStyle, ref areAllMessagesWrapped)) 444if (bodyPartsFromBindings != null && !bodyPartsFromBindings.Contains(part.Name)) 485if (bodyPartsFromBindings != null && !bodyPartsFromBindings.Contains(part.Name)) 489isReturn = Array.IndexOf<string>(parameterOrder, part.Name) == -1; 608TraceFaultCannotBeImported(fault.Name, description.Name, string.Format(SRServiceModel.SFxWsdlOperationFaultNeedsMessageAttribute2, fault.Name, fault.Operation.PortType.Name)); 617TraceFaultCannotBeImported(fault.Name, description.Name, SRServiceModel.UnsupportedWSDLOnlyOneMessage); 627TraceFaultCannotBeImported(fault.Name, description.Name, SRServiceModel.UnsupportedWSDLTheFault); 644return CheckAndAddPart(part.Type, DataContractSerializerMessageContractImporter.GenericMessageTypeName, part.Name, string.Empty, typeof(Message), description, isReply); 708return CheckAndAddPart(typeName, DataContractSerializerMessageContractImporter.StreamBodyTypeName, part.Name, ns, typeof(Stream), description, isReply); 755return wsdlPart.Name == "parameters" && !IsNullOrEmpty(wsdlPart.Element) && !wrapFlag; 777if (part.Name == name) 780throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlMessageDoesNotContainPart3, name, message.Name, message.ServiceDescription.TargetNamespace))); 1074string messageName = part.Message.Name; 1083if (message.Message.Equals(new XmlQualifiedName(part.Message.Name, description.TargetNamespace))) 1100if (operation != null && !new XmlQualifiedName(operation.PortType.Name, targetNamespace).Equals(binding.Type)) 1299AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationUseInBindingExtensions, messageBinding.OperationBinding.Name, messageBinding.OperationBinding.Binding.Name)); 1311AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationUseInBindingExtensions, messageBinding.OperationBinding.Name, messageBinding.OperationBinding.Binding.Name)); 1317messageParts[i] = wsdlMessage.Parts[i].Name; 1335AddError(string.Format(SRServiceModel.SFxInconsistentBindingBodyParts, messageBinding.OperationBinding.Name, messageBinding.OperationBinding.Binding.Name, partName)); 1372AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationUseInBindingExtensions, faultBinding.OperationBinding.Name, faultBinding.OperationBinding.Binding.Name)); 1395AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationStyleInHeader, part.Name, headerStyle, style)); 1407ImportMessageHeaderBinding(soapHeaderBinding, wsdlMessage, description, style, isEncoded, messageBinding.OperationBinding.Name); 1414ImportMessageBodyBinding(soapBodyBinding, wsdlMessage, description, style, isEncoded, messageBinding.OperationBinding.Name); 1455return new XmlQualifiedName(part.Name, String.Empty); 1456throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlPartMustHaveElementOrType, part.Name, part.Message.Name, part.Message.Namespaces))); 1479bodyPart = isHeader ? (MessagePartDescription)new MessageHeaderDescription(part.Name, String.Empty) : new MessagePartDescription(part.Name, String.Empty); 1483throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlPartMustHaveElementOrType, part.Name, part.Message.Name, part.Message.Namespaces))); 2185string warning = string.Format(SRServiceModel.IgnoreSoapHeaderBinding3, messageBinding.OperationBinding.Name, messageBinding.OperationBinding.Binding.ServiceDescription.TargetNamespace, reason); 2193string warning = string.Format(SRServiceModel.IgnoreSoapHeaderBinding3, messageBinding.OperationBinding.Name, messageBinding.OperationBinding.Binding.ServiceDescription.TargetNamespace, reason); 2205string warning = string.Format(SRServiceModel.IgnoreSoapFaultBinding3, faultBinding.OperationBinding.Name, faultBinding.OperationBinding.Binding.ServiceDescription.TargetNamespace, reason); 2215if (string.IsNullOrEmpty(part.Name)) 2218string warning = string.Format(SRServiceModel.IgnoreMessagePart3, message.Name, message.ServiceDescription.TargetNamespace, reason);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlContractConversionContext.cs (1)
152if (wsdlBinding.Type.Name == WsdlPortType.Name && wsdlBinding.Type.Namespace == WsdlPortType.ServiceDescription.TargetNamespace)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (19)
261if (wsdl.PortTypes[wsdlPortType.Name] != null) 325wsdlPortTypeQName = new XmlQualifiedName(wsdlPortType.Name, wsdlPortType.ServiceDescription.TargetNamespace); 335wsdlBindingQName = new XmlQualifiedName(bindingConversionContext.WsdlBinding.Name, bindingConversionContext.WsdlBinding.ServiceDescription.TargetNamespace); 515if (string.IsNullOrEmpty(wsdl.Name)) 516wsdl.Name = wsdlService.Name; 874return string.Format(CultureInfo.InvariantCulture, "{0}_policy", wsdlBinding.Name); 880wsdlOperationBinding.Binding.Name, 881wsdlOperationBinding.Name); 890return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_Input_policy", wsdlBinding.Name, wsdlOperationBinding.Name); 892return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_output_policy", wsdlBinding.Name, wsdlOperationBinding.Name); 899if (string.IsNullOrEmpty(wsdlFaultBinding.Name)) 901return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_Fault", wsdlBinding.Name, wsdlOperationBinding.Name); 905return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_{2}_Fault", wsdlBinding.Name, wsdlOperationBinding.Name, wsdlFaultBinding.Name); 1080if (port.Name == portName)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (42)
304XmlQualifiedName wsdlPortTypeQName = new XmlQualifiedName(wsdlPortType.Name, wsdlPortType.ServiceDescription.TargetNamespace); 364XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(wsdlBinding.Name, wsdlBinding.ServiceDescription.TargetNamespace); 520if (string.IsNullOrEmpty(wsdlOperationFault.Name)) 528faultDescription.SetNameOnly(new XmlName(wsdlOperationFault.Name, true /*isEncoded*/)); 864if (faultBinding.Name == fault.Name) 873string wsdlOperationBindingName = wsdlOperationBinding.Name; 877throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxInvalidWsdlBindingOpNoName, wsdlOperationBinding.Binding.Name))); 906throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxInvalidWsdlBindingOpMismatch2, wsdlOperationBinding.Binding.Name, wsdlOperationBinding.Name))); 923if (wsdlOperationBinding.Name != wsdlOperation.Name) 958string wsdlOperationMessageName = wsdlOperationMessage.Name; 959string wsdlMessageBindingName = wsdlMessageBinding.Name; 989throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.UnableToLocateOperation2, wsdlOperationBinding.Name, contract.Name))); 996if (wsdlOperationName != wsdlOperationBinding.Name) 1060string portTypeName = wsdlOperationMessage.Operation.PortType.Name; 1180XmlName xmlName = new XmlName(wsdlBinding.Name, true /*isEncoded*/); 1187XmlName xmlName = new XmlName(string.Format(CultureInfo.InvariantCulture, "{0}_{1}", wsdlPort.Service.Name, wsdlPort.Name), true /*isEncoded*/); 1193return new XmlName(wsdlPort.Name, true /*isEncoded*/); 1203return wsdlOperation.Name; 1209if (!string.IsNullOrEmpty(wsdlOperationMessage.Name)) 1211messageName = wsdlOperationMessage.Name; 1215messageName = wsdlOperationMessage.Operation.Name; 1220messageName = wsdlOperationMessage.Operation.Name + "Request"; 1222messageName = wsdlOperationMessage.Operation.Name + "Solicit"; 1226messageName = wsdlOperationMessage.Operation.Name + "Response"; 1317XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(wsdlBinding.Name, wsdlBinding.ServiceDescription.TargetNamespace); 1348string id = string.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}_{1}_BindingAdHocPolicy", wsdlBinding.Name, name); 1505if (wsdlBinding.Type.Name == wsdlPortType.Name 1526if (wsdlPort.Binding.Name == binding.Name && wsdlPort.Binding.Namespace == binding.ServiceDescription.TargetNamespace) 1629XmlQualifiedName bindingQName = new XmlQualifiedName(endpointContext.WsdlBinding.Name, endpointContext.WsdlBinding.ServiceDescription.TargetNamespace); 1761string nameValue = item.Name; 1814nameValue = wsdlService.Name; 1816rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "port", item.Name); 1822nameValue = wsdlPortType.Name; 1824rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.Name); 1830nameValue = wsdlOperationBinding.Binding.Name; 1832rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.Name); 1839nameValue = wsdlOperationBinding.Binding.Name; 1840string messageName = item.Name; 1852rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", wsdlOperationBinding.Name);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (20)
1281if (operationBinding.Name != Name) return false; 1287string portTypeInputName = GetMessageName(Name, input.Name, true); 1288string bindingInputName = GetMessageName(operationBinding.Name, operationBinding.Input.Name, true); 1299string portTypeOutputName = GetMessageName(Name, output.Name, false); 1300string bindingOutputName = GetMessageName(operationBinding.Name, operationBinding.Output.Name, false); 1449if (part.Name == partName) return part; 1451throw new ArgumentException(string.Format(ResWebServices.MissingMessagePartForMessageFromNamespace3, partName, Name, ServiceDescription.TargetNamespace), "partName"); 2218return ((Message)value).Name; 2318return ((Port)value).Name; 2418return ((PortType)value).Name; 2518return ((Binding)value).Name; 2618return ((Service)value).Name; 2718return ((MessagePart)value).Name; 2900return ((FaultBinding)value).Name; 3082return ((OperationFault)value).Name;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (15)
52WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 164WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 234WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 405WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 502WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 600WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 780WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 1390WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 1770WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 1840WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 1941WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 2002WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 2063WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 2124WriteAttribute(@"name", @"", ((global::System.String)o.@Name)); 2194WriteAttribute(@"name", @"", ((global::System.String)o.@Name));
ImportModule.cs (1)
393XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(context.WsdlBinding.Name, context.WsdlBinding.ServiceDescription.TargetNamespace);
Metadata\ServiceDescriptor.cs (1)
214services.Add(new ServiceInfo(wsdlService.Name, contracts));