85 references to NamingHelper
System.ServiceModel (85)
System\ServiceModel\Channels\Binding.cs (3)
21internal const string DefaultNamespace = NamingHelper.DefaultNamespace; 42NamingHelper.CheckUriParameter(ns, "ns"); 99NamingHelper.CheckUriProperty(value, "Namespace");
System\ServiceModel\Channels\MessageHeader.cs (1)
367NamingHelper.CheckUriParameter(ns, "ns");
System\ServiceModel\Channels\MtomMessageEncoder.cs (1)
98const string mtomStartUri = NamingHelper.DefaultNamespace + "0";
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (1)
50string serviceNs = NamingHelper.DefaultNamespace;
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (2)
219string requestAction = NamingHelper.GetMessageAction(contractQName, 224string responseAction = NamingHelper.GetMessageAction(contractQName,
System\ServiceModel\Description\ClientClassGenerator.cs (16)
165clientType.Name = NamingHelper.GetUniqueName(GetClientClassName(context.ContractType.Name), DoesMethodNameExist, context.Operations); 339param = new CodeParameterDeclarationExpression(field.Type, NamingHelper.GetUniqueName(field.Name, DoesParameterNameExist, helperMethod)); 563NamingHelper.GetUniqueName("Result", DoesMemberNameExist, argsType), 571resultsField.Name = NamingHelper.GetUniqueName("results", DoesMemberNameExist, argsType); 577argsType.Name = NamingHelper.GetUniqueName(GetOperationCompletedEventArgsTypeName(syncMethodName), 632operationCompletedEvent.Name = NamingHelper.GetUniqueName(GetOperationCompletedEventName(syncMethodName), 645beginOperationDelegate.Name = NamingHelper.GetUniqueName(GetBeginOperationDelegateName(syncMethodName), 658onBeginOperationMethod.Name = NamingHelper.GetUniqueName(GetBeginOperationMethodName(syncMethodName), 663inValuesParam.Name = NamingHelper.GetUniqueName("inValues", DoesParameterNameExist, beginMethod); 700endOperationDelegate.Name = NamingHelper.GetUniqueName(GetEndOperationDelegateName(syncMethodName), 712onEndOperationMethod.Name = NamingHelper.GetUniqueName(GetEndOperationMethodName(syncMethodName), DoesMethodNameExist, context.Operations); 745retValDecl.Name = NamingHelper.GetUniqueName("retVal", DoesParameterNameExist, endMethod); 775operationCompletedDelegate.Name = NamingHelper.GetUniqueName(GetOperationCompletedDelegateName(syncMethodName), 787operationCompletedMethod.Name = NamingHelper.GetUniqueName(GetOperationCompletedMethodName(syncMethodName), 845eventAsyncMethod.Name = NamingHelper.GetUniqueName(GetEventAsyncMethodName(syncMethodName), 862string userStateParamName = NamingHelper.GetUniqueName("userState", DoesParameterNameExist, eventAsyncMethod);
System\ServiceModel\Description\ConfigWriter.cs (4)
45channelElement.Name = NamingHelper.GetUniqueName(NamingHelper.CodeName(endpoint.Name), this.CheckIfChannelNameInUse, null); 69string bindingName = NamingHelper.GetUniqueName(NamingHelper.CodeName(binding.Name), this.CheckIfBindingNameInUse, null);
System\ServiceModel\Description\ContractDescription.cs (3)
39NamingHelper.CheckUriParameter(ns, "ns"); 42this.ns = ns ?? NamingHelper.DefaultNamespace; // ns can be "" 94NamingHelper.CheckUriProperty(value, "Namespace");
System\ServiceModel\Description\MessageContractExporter.cs (2)
555return NamingHelper.GetUniqueName(messageNameBase, DoesMessageNameExist, wsdl); 1229string partName = (isHeader || generateElement) ? NamingHelper.XmlName(member.MemberName) : member.XsdElementName;
System\ServiceModel\Description\MessageContractImporter.cs (1)
2016string xmlName = NamingHelper.XmlName(member.MemberName);
System\ServiceModel\Description\MessagePartDescription.cs (1)
42NamingHelper.CheckUriParameter(ns, "ns");
System\ServiceModel\Description\OperationGenerator.cs (2)
541return NamingHelper.GetUniqueName(name, DoesParameterNameExist, parameters); 788new CodePrimitiveExpression(NamingHelper.CodeName(message.Body.WrapperName))));
System\ServiceModel\Description\ParameterXPathQueryGenerator.cs (1)
50serviceContractNamespace = NamingHelper.DefaultNamespace;
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
403string friendlyName = NamingHelper.XmlName(context.Contract.CodeName) == context.Contract.Name ? context.Contract.CodeName : context.Contract.Name; 407if (NamingHelper.DefaultNamespace != context.Contract.Namespace)
System\ServiceModel\Description\ServiceDescription.cs (3)
26string serviceNamespace = NamingHelper.DefaultNamespace; 58return NamingHelper.XmlName(ServiceType.Name); 60return NamingHelper.DefaultServiceName;
System\ServiceModel\Description\ServiceReflector.cs (3)
241encoded = NamingHelper.XmlName(decoded); 251decoded = NamingHelper.CodeName(encoded); 868return NamingHelper.GetOperationName(GetLogicalName(method), operationAttribute.Name);
System\ServiceModel\Description\TypedMessageConverter.cs (3)
40defaultNamespace = NamingHelper.DefaultNamespace; 54defaultNamespace = NamingHelper.DefaultNamespace; 69OperationDescription operation = new OperationDescription(NamingHelper.XmlName(t.Name), contract, false);
System\ServiceModel\Description\TypeLoader.cs (11)
183XmlQualifiedName contractName = NamingHelper.GetContractName(channelType, null, NamingHelper.MSNamespace); 198XmlQualifiedName contractName = NamingHelper.GetContractName(channelType, null, NamingHelper.MSNamespace); 693XmlQualifiedName contractName = NamingHelper.GetContractName(contractType, contractAttr.Name, contractAttr.Namespace); 818XmlName operationName = NamingHelper.GetOperationName(ServiceReflector.GetLogicalName(methodInfo, isAsync, isTask), opAttr.Name); 947string requestAction = NamingHelper.GetMessageAction(contractQname, 952string responseAction = NamingHelper.GetMessageAction(contractQname, 1052XmlName faultName = new XmlName(attr.Name ?? NamingHelper.TypeName(attr.DetailType) + FaultSuffix); 1053FaultDescription fault = new FaultDescription(NamingHelper.GetMessageAction(contractName, operationName.DecodedName + faultName.DecodedName, attr.Action, false/*isResponse*/)); 1239messageDescription.MessageName = new XmlName(NamingHelper.TypeName(typedMessageType));
System\ServiceModel\Description\WsdlExporter.cs (11)
105ExportEndpoint(endpoint, new XmlQualifiedName(NamingHelper.DefaultServiceName, NamingHelper.DefaultNamespace), null); 721NamingHelper.DoesNameExist policyKeyIsUnique 739key = NamingHelper.GetUniqueName(keyBase, policyKeyIsUnique, null); 758key = NamingHelper.GetUniqueName(keyBase, policyKeyIsUnique, null); 776key = NamingHelper.GetUniqueName(keyBase, policyKeyIsUnique, null); 791key = NamingHelper.GetUniqueName(keyBase, policyKeyIsUnique, null); 1051string uniquifiedLocalName = NamingHelper.GetUniqueName(localName, WsdlBindingQNameExists(exporter, bindingWsdlNamespace), null); 1057static NamingHelper.DoesNameExist WsdlBindingQNameExists(WsdlExporter exporter, string bindingWsdlNamespace) 1074return NamingHelper.GetUniqueName(endpoint.Name, ServiceContainsPort(wsdlService), null); 1077static NamingHelper.DoesNameExist ServiceContainsPort(WsdlNS.Service service)
System\ServiceModel\Description\WsdlHelper.cs (1)
117string uniqueBindingName = NamingHelper.GetUniqueName(binding.Name, WsdlHelper.IsBindingNameUsed, singleWsdl.Bindings);
System\ServiceModel\Description\WsdlImporter.cs (2)
558binding.Name = NamingHelper.CodeName(bindingQName.Name); 1316const string workaroundNS = NamingHelper.DefaultNamespace + "temporaryworkaround";
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
654this.soapImporter = new SoapReflectionImporter(NamingHelper.CombineUriStrings(defaultNs, "encoded"));
System\ServiceModel\Dispatcher\XPathMessageContext.cs (1)
26internal const string TempUriNS = NamingHelper.DefaultNamespace;
System\ServiceModel\FaultCode.cs (1)
44NamingHelper.CheckUriParameter(ns, "ns");
System\ServiceModel\FaultContractAttribute.cs (1)
66NamingHelper.CheckUriProperty(value, "Namespace");
System\ServiceModel\MessageContractAttribute.cs (1)
75NamingHelper.CheckUriProperty(value, "WrapperNamespace");
System\ServiceModel\MessageContractMemberAttribute.cs (1)
34NamingHelper.CheckUriProperty(value, "Namespace");
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (1)
998EndpointDispatcher endpointDispatcher = new EndpointDispatcher(new EndpointAddress(this.listenUri), "SecurityNegotiationContract", NamingHelper.DefaultNamespace, true);
System\ServiceModel\Security\NegotiationTokenProvider.cs (1)
123ClientRuntime clientRuntime = new ClientRuntime("RequestSecurityTokenContract", NamingHelper.DefaultNamespace);
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
1187EndpointDispatcher endpointDispatcher = new EndpointDispatcher(new EndpointAddress(this.listenUri), "IssueAndRenewSession", NamingHelper.DefaultNamespace, true);
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
420ClientRuntime clientRuntime = new ClientRuntime("RequestSecuritySession", NamingHelper.DefaultNamespace);
System\ServiceModel\ServiceContractAttribute.cs (1)
68NamingHelper.CheckUriProperty(value, "Namespace");