73 references to ConfigToCodeConstants
dotnet-svcutil-lib (73)
CodeDomFixup\ConfigToCode.cs (53)
75new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), ConfigToCodeConstants.EndpointPropertyName), 76ConfigToCodeConstants.EndpointNamePropertyName), 78new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(ConfigToCodeConstants.EndpointConfigurationEnumTypeName), endpointNames[0]), 79ConfigToCodeConstants.ToStringMethod))); 85new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), ConfigToCodeConstants.EndpointPropertyName), 86ConfigToCodeConstants.EndpointNamePropertyName), 88new CodeVariableReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter), 89ConfigToCodeConstants.ToStringMethod))); 95new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), ConfigToCodeConstants.EndpointPropertyName), 96new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), ConfigToCodeConstants.ClientCredentialsPropertyName))); 101if (string.Equals(clientType.BaseTypes[0].BaseType, ConfigToCodeConstants.ClientBaseOfTBaseName, StringComparison.Ordinal)) 105else if (string.Equals(clientType.BaseTypes[0].BaseType, ConfigToCodeConstants.DuplexClientBaseOfTBaseName, StringComparison.Ordinal)) 142ConfigToCodeConstants.EndpointConfigurationEnumTypeName, 143ConfigToCodeConstants.EndpointConfigurationParameter); 144ctor.ChainedConstructorArgs[1] = new CodeVariableReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter); 158ConfigToCodeConstants.EndpointConfigurationEnumTypeName, 159ConfigToCodeConstants.EndpointConfigurationParameter); 194ConfigToCodeConstants.GetDefaultBindingMethod)); 198ConfigToCodeConstants.GetDefaultEndpointAddressMethod)); 214ConfigToCodeConstants.EndpointConfigurationEnumTypeName, 215ConfigToCodeConstants.EndpointConfigurationParameter)); 221ConfigToCodeConstants.GetBindingMethod, 222new CodeArgumentReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter))); 226ConfigToCodeConstants.GetEndpointAddressMethod, 227new CodeArgumentReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter))); 243ConfigToCodeConstants.EndpointConfigurationEnumTypeName, 244ConfigToCodeConstants.EndpointConfigurationParameter); 251ConfigToCodeConstants.GetBindingMethod, 252new CodeArgumentReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter))); 272ConfigToCodeConstants.EndpointConfigurationEnumTypeName, 273ConfigToCodeConstants.EndpointConfigurationParameter); 280ConfigToCodeConstants.GetBindingMethod, 281new CodeArgumentReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter))); 324ConfigToCodeConstants.GetDefaultBindingMethod)); 328ConfigToCodeConstants.GetDefaultEndpointAddressMethod)); 343ConfigToCodeConstants.EndpointConfigurationEnumTypeName, 344ConfigToCodeConstants.EndpointConfigurationParameter); 351ConfigToCodeConstants.GetBindingMethod, 352new CodeArgumentReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter))); 356ConfigToCodeConstants.GetEndpointAddressMethod, 357new CodeArgumentReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter))); 375ConfigToCodeConstants.EndpointConfigurationEnumTypeName, 376ConfigToCodeConstants.EndpointConfigurationParameter); 380ConfigToCodeConstants.GetBindingMethod, 381new CodeArgumentReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter)); 402ConfigToCodeConstants.EndpointConfigurationEnumTypeName, 403ConfigToCodeConstants.EndpointConfigurationParameter); 407ConfigToCodeConstants.GetBindingMethod, 408new CodeArgumentReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter)); 440if (string.Equals(baseType.BaseType, ConfigToCodeConstants.ClientBaseOfTBaseName, StringComparison.Ordinal) && baseType.TypeArguments.Count == 1) 444else if (string.Equals(baseType.BaseType, ConfigToCodeConstants.DuplexClientBaseOfTBaseName, StringComparison.Ordinal) && baseType.TypeArguments.Count == 1) 470if (string.Equals(baseType.BaseType, ConfigToCodeConstants.ClientBaseOfTBaseName, StringComparison.Ordinal) 471|| string.Equals(baseType.BaseType, ConfigToCodeConstants.DuplexClientBaseOfTBaseName, StringComparison.Ordinal))
CodeDomFixup\MethodCreationHelper.cs (20)
27Name = ConfigToCodeConstants.GetEndpointAddressMethod, 32this.GetEndpointAddress.Parameters.Add(new CodeParameterDeclarationExpression(ConfigToCodeConstants.EndpointConfigurationEnumTypeName, ConfigToCodeConstants.EndpointConfigurationParameter)); 36Name = ConfigToCodeConstants.GetBindingMethod, 41this.GetBinding.Parameters.Add(new CodeParameterDeclarationExpression(ConfigToCodeConstants.EndpointConfigurationEnumTypeName, ConfigToCodeConstants.EndpointConfigurationParameter)); 68CodeTypeDeclaration configurationsEnum = new CodeTypeDeclaration(ConfigToCodeConstants.EndpointConfigurationEnumTypeName); 72configurationsEnum.Members.Add(new CodeMemberField(ConfigToCodeConstants.EndpointConfigurationEnumTypeName, CodeDomHelpers.EscapeName(endpointName))); 139new CodeArgumentReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter), 142new CodeTypeReferenceExpression(ConfigToCodeConstants.EndpointConfigurationEnumTypeName), endpointConfigurationName))); 2163new CodeArgumentReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter), 2166new CodeTypeReferenceExpression(ConfigToCodeConstants.EndpointConfigurationEnumTypeName), endpointConfigurationName)), 2177Name = ConfigToCodeConstants.GetDefaultBindingMethod, 2184Name = ConfigToCodeConstants.GetDefaultEndpointAddressMethod, 2192ConfigToCodeConstants.GetBindingMethod, 2195ConfigToCodeConstants.EndpointConfigurationEnumTypeName), 2202ConfigToCodeConstants.GetEndpointAddressMethod, 2205ConfigToCodeConstants.EndpointConfigurationEnumTypeName), 2219new CodeArgumentReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter))))); 2229new CodeArgumentReferenceExpression(ConfigToCodeConstants.EndpointConfigurationParameter)))));