119 references to ConfigurationHelpers
System.ServiceModel (119)
System\ServiceModel\Configuration\AddressHeaderCollectionElement.cs (1)
75ConfigurationHelpers.SetIsPresent(this);
System\ServiceModel\Configuration\BasicHttpBindingCollectionElement.cs (1)
15return (BasicHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.BasicHttpBindingCollectionElementName);
System\ServiceModel\Configuration\BasicHttpContextBindingCollectionElement.cs (1)
22return (BasicHttpContextBindingCollectionElement) ConfigurationHelpers.GetBindingCollectionElement(basicHttpContextBindingName);
System\ServiceModel\Configuration\BasicHttpsBindingCollectionElement.cs (1)
13return (BasicHttpsBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.BasicHttpsBindingCollectionElementName);
System\ServiceModel\Configuration\BehaviorsSection.cs (5)
28return (BehaviorsSection)ConfigurationHelpers.GetSection(ConfigurationStrings.BehaviorsSectionPath); 36return (BehaviorsSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.BehaviorsSectionPath); 44return (BehaviorsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(evalContext, ConfigurationStrings.BehaviorsSectionPath); 64BehaviorsSection behaviors = (BehaviorsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(evaluationContext, ConfigurationStrings.BehaviorsSectionPath); 92BehaviorsSection behaviors = (BehaviorsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(evaluationContext, ConfigurationStrings.BehaviorsSectionPath);
System\ServiceModel\Configuration\BindingCollectionElement.cs (1)
54collection = ExtensionsSection.UnsafeLookupCollection(ConfigurationStrings.BindingExtensions, ConfigurationHelpers.GetEvaluationContext(this));
System\ServiceModel\Configuration\BindingsSection.cs (7)
187ConfigurationHelpers.GetBindingsSectionPath(elementName)))); 259UpdateBindingSections(ConfigurationHelpers.GetEvaluationContext(this)); 284ConfigurationHelpers.TraceExtensionTypeNotFound(bindingExtension); 322bindingCollectionElement = ConfigurationHelpers.UnsafeGetAssociatedBindingCollectionElement(evaluationContext, binding); 326bindingCollectionElement = ConfigurationHelpers.UnsafeGetBindingCollectionElement(binding); 332ConfigurationHelpers.GetBindingsSectionPath(binding)), 343ConfigurationHelpers.GetBindingsSectionPath(binding),
System\ServiceModel\Configuration\ClientSection.cs (4)
31return (ClientSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ClientSectionPath); 39return (ClientSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.ClientSectionPath); 47return (ClientSection)ConfigurationHelpers.UnsafeGetSectionFromContext(contextInformation, ConfigurationStrings.ClientSectionPath); 63ContextInformation context = ConfigurationHelpers.GetEvaluationContext(this);
System\ServiceModel\Configuration\comcontractssection.cs (1)
21return (ComContractsSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ComContractsSectionPath);
System\ServiceModel\Configuration\CommonBehaviorsSection.cs (3)
27return (CommonBehaviorsSection)ConfigurationHelpers.GetSection(ConfigurationStrings.CommonBehaviorsSectionPath); 35return (CommonBehaviorsSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.CommonBehaviorsSectionPath); 43return (CommonBehaviorsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(contextEval, ConfigurationStrings.CommonBehaviorsSectionPath);
System\ServiceModel\Configuration\ConfigurationHelpers.cs (14)
25BindingsSection bindingsSection = (BindingsSection)ConfigurationHelpers.GetAssociatedSection(evaluationContext, ConfigurationStrings.BindingsSectionGroupPath); 38ConfigurationHelpers.GetBindingsSectionPath(bindingCollectionName)))); 44ConfigurationHelpers.GetBindingsSectionPath(bindingCollectionName)))); 57BindingsSection bindingsSection = (BindingsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(evaluationContext, ConfigurationStrings.BindingsSectionGroupPath); 70ConfigurationHelpers.GetBindingsSectionPath(bindingCollectionName)))); 76ConfigurationHelpers.GetBindingsSectionPath(bindingCollectionName)))); 87StandardEndpointsSection endpointsSection = (StandardEndpointsSection)ConfigurationHelpers.GetAssociatedSection(evaluationContext, ConfigurationStrings.StandardEndpointsSectionPath); 100ConfigurationHelpers.GetEndpointsSectionPath(endpointCollectionName)))); 106ConfigurationHelpers.GetEndpointsSectionPath(endpointCollectionName)))); 119StandardEndpointsSection endpointsSection = (StandardEndpointsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(evaluationContext, ConfigurationStrings.StandardEndpointsSectionPath); 132ConfigurationHelpers.GetEndpointsSectionPath(endpointCollectionName)))); 138ConfigurationHelpers.GetEndpointsSectionPath(endpointCollectionName)))); 395this.inheritedContext = ConfigurationHelpers.GetOriginalEvaluationContext(parent as IConfigurationContextProviderInternal); 408return ConfigurationHelpers.GetEvaluationContext(owner);
System\ServiceModel\Configuration\ConfigurationStrings.cs (11)
499get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.BehaviorsSectionName); } 504get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.BindingsSectionGroupName); } 509get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.ClientSectionName); } 514get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.ComContractsSectionName); } 519get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.CommonBehaviorsSectionName); } 524get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.DiagnosticSectionName); } 529get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.Extensions); } 534get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.ProtocolMappingSectionName); } 539get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.ServiceHostingEnvironmentSectionName); } 544get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.ServicesSectionName); } 549get { return ConfigurationHelpers.GetSectionPath(ConfigurationStrings.StandardEndpointsSectionName); }
System\ServiceModel\Configuration\CustomBindingCollectionElement.cs (1)
55return (CustomBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.CustomBindingCollectionElementName);
System\ServiceModel\Configuration\DiagnosticSection.cs (3)
57return (DiagnosticSection)ConfigurationHelpers.GetSection(ConfigurationStrings.DiagnosticSectionPath); 65return (DiagnosticSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.DiagnosticSectionPath); 73return (DiagnosticSection)ConfigurationHelpers.UnsafeGetSectionNoTrace(ConfigurationStrings.DiagnosticSectionPath);
System\ServiceModel\Configuration\EndpointCollectionElement.cs (1)
56collection = ExtensionsSection.UnsafeLookupCollection(ConfigurationStrings.EndpointExtensions, ConfigurationHelpers.GetEvaluationContext(this));
System\ServiceModel\Configuration\ExtensionsSection.cs (4)
199extensionsSection = (ExtensionsSection)ConfigurationHelpers.GetAssociatedSection(evaluationContext, ConfigurationStrings.ExtensionsSectionPath); 212extensionsSection = (ExtensionsSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ExtensionsSectionPath); 253extensionsSection = (ExtensionsSection)ConfigurationHelpers.UnsafeGetAssociatedSection(evaluationContext, ConfigurationStrings.ExtensionsSectionPath); 266extensionsSection = (ExtensionsSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.ExtensionsSectionPath);
System\ServiceModel\Configuration\IssuedTokenParametersEndpointAddressElement.cs (1)
57ContextInformation context = ConfigurationHelpers.GetEvaluationContext(this);
System\ServiceModel\Configuration\MexHttpBindingCollectionElement.cs (1)
20return (MexHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.MexHttpBindingCollectionElementName);
System\ServiceModel\Configuration\MexHttpsBindingCollectionElement.cs (1)
20return (MexHttpsBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.MexHttpsBindingCollectionElementName);
System\ServiceModel\Configuration\MexNamedPipeBindingCollectionElement.cs (1)
20return (MexNamedPipeBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.MexNamedPipeBindingCollectionElementName);
System\ServiceModel\Configuration\MexTcpBindingCollectionElement.cs (1)
20return (MexTcpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.MexTcpBindingCollectionElementName);
System\ServiceModel\Configuration\MsmqIntegrationBindingCollectionElement.cs (1)
14return (MsmqIntegrationBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.MsmqIntegrationBindingCollectionElementName);
System\ServiceModel\Configuration\NetHttpBindingCollectionElement.cs (1)
14return (NetHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.NetHttpBindingCollectionElementName);
System\ServiceModel\Configuration\NetHttpsBindingCollectionElement.cs (1)
14return (NetHttpsBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.NetHttpsBindingCollectionElementName);
System\ServiceModel\Configuration\NetMsmqBindingCollectionElement.cs (1)
15return (NetMsmqBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.NetMsmqBindingCollectionElementName);
System\ServiceModel\Configuration\NetNamedPipeBindingCollectionElement.cs (1)
15return (NetNamedPipeBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.NetNamedPipeBindingCollectionElementName);
System\ServiceModel\Configuration\NetPeerTcpBindingCollectionElement.cs (1)
15return (NetPeerTcpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.NetPeerTcpBindingCollectionElementName);
System\ServiceModel\Configuration\NetTcpBindingCollectionElement.cs (1)
15return (NetTcpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.NetTcpBindingCollectionElementName);
System\ServiceModel\Configuration\NetTcpContextBindingCollectionElement.cs (1)
22return (NetTcpContextBindingCollectionElement) ConfigurationHelpers.GetBindingCollectionElement(netTcpContextBindingName);
System\ServiceModel\Configuration\ProtocolMappingSection.cs (2)
33return (ProtocolMappingSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ProtocolMappingSectionPath); 41return (ProtocolMappingSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.ProtocolMappingSectionPath);
System\ServiceModel\Configuration\ServiceHostingEnvironmentSection.cs (2)
93return (ServiceHostingEnvironmentSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ServiceHostingEnvironmentSectionPath); 101return (ServiceHostingEnvironmentSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.ServiceHostingEnvironmentSectionPath);
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (5)
136element.ContainingEvaluationContext = ConfigurationHelpers.GetEvaluationContext(this); 152element.ContainingEvaluationContext = ConfigurationHelpers.GetEvaluationContext(this); 171retval = element.CanAdd(this.extensionCollectionName, ConfigurationHelpers.GetEvaluationContext(this)); 322ContextInformation evaluationContext = ConfigurationHelpers.GetEvaluationContext(this); 484ConfigurationHelpers.SetIsPresent(this);
System\ServiceModel\Configuration\ServiceModelExtensionElement.cs (1)
196evaluationContext = ConfigurationHelpers.GetEvaluationContext(this);
System\ServiceModel\Configuration\ServicesSection.cs (3)
29return (ServicesSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ServicesSectionPath); 37return (ServicesSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.ServicesSectionPath); 48ContextInformation context = ConfigurationHelpers.GetEvaluationContext(this);
System\ServiceModel\Configuration\StandardEndpointsSection.cs (7)
117ConfigurationHelpers.GetEndpointsSectionPath(elementName)))); 160UpdateEndpointSections(ConfigurationHelpers.GetEvaluationContext(this)); 185ConfigurationHelpers.TraceExtensionTypeNotFound(endpointExtension); 223endpointCollectionElement = ConfigurationHelpers.UnsafeGetAssociatedEndpointCollectionElement(evaluationContext, endpoint); 227endpointCollectionElement = ConfigurationHelpers.UnsafeGetEndpointCollectionElement(endpoint); 233ConfigurationHelpers.GetEndpointsSectionPath(endpoint)), 244ConfigurationHelpers.GetEndpointsSectionPath(endpoint),
System\ServiceModel\Configuration\WS2007FederationHttpBindingCollectionElement.cs (1)
15return (WS2007FederationHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.WS2007FederationHttpBindingCollectionElementName);
System\ServiceModel\Configuration\WS2007HttpBindingCollectionElement.cs (1)
15return (WS2007HttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.WS2007HttpBindingCollectionElementName);
System\ServiceModel\Configuration\WSDualHttpBindingCollectionElement.cs (1)
15return (WSDualHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.WSDualHttpBindingCollectionElementName);
System\ServiceModel\Configuration\WSFederationHttpBindingCollectionElement.cs (1)
14return (WSFederationHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.WSFederationHttpBindingCollectionElementName);
System\ServiceModel\Configuration\WSHttpBindingCollectionElement.cs (1)
15return (WSHttpBindingCollectionElement)ConfigurationHelpers.GetBindingCollectionElement(ConfigurationStrings.WSHttpBindingCollectionElementName);
System\ServiceModel\Configuration\WSHttpContextBindingCollectionElement.cs (1)
22return (WSHttpContextBindingCollectionElement) ConfigurationHelpers.GetBindingCollectionElement(wsHttpContextBindingName);
System\ServiceModel\Configuration\XmlElementElement.cs (1)
66ConfigurationHelpers.SetIsPresent(this);
System\ServiceModel\Description\ConfigLoader.cs (20)
164serviceEndpoint.Binding = ConfigLoader.LookupBinding(channelElement.Binding, channelElement.BindingConfiguration, ConfigurationHelpers.GetEvaluationContext(channelElement)); 172CommonBehaviorsSection commonBehaviors = ConfigLoader.LookupCommonBehaviors(ConfigurationHelpers.GetEvaluationContext(channelElement)); 178EndpointBehaviorElement behaviorElement = ConfigLoader.LookupEndpointBehaviors(channelElement.BehaviorConfiguration, ConfigurationHelpers.GetEvaluationContext(channelElement)); 440serviceElement == null ? null : ConfigurationHelpers.GetEvaluationContext(serviceElement)); 455ServiceBehaviorElement behaviorElement = ConfigLoader.LookupServiceBehaviors(behaviorConfigurationName, ConfigurationHelpers.GetEvaluationContext(serviceElement)); 480binding = ConfigLoader.LookupBinding(endpointElement.Binding, endpointElement.BindingConfiguration, ConfigurationHelpers.GetEvaluationContext(serviceElement)); 522EndpointBehaviorElement behaviorEndpointElement = ConfigLoader.LookupEndpointBehaviors(endpointElement.BehaviorConfiguration, ConfigurationHelpers.GetEvaluationContext(endpointElement)); 537ServiceEndpoint endpoint = LookupEndpoint(endpointElement, ConfigurationHelpers.GetEvaluationContext(serviceElement), host, description); 549EndpointBehaviorElement behaviorEndpointElement = ConfigLoader.LookupEndpointBehaviors(ConfigurationStrings.DefaultName, ConfigurationHelpers.GetEvaluationContext(null)); 569endpointCollectionElement = (EndpointCollectionElement)ConfigurationHelpers.UnsafeGetEndpointCollectionElement(endpointSectionName); 575endpointCollectionElement = (EndpointCollectionElement)ConfigurationHelpers.UnsafeGetAssociatedEndpointCollectionElement(context, endpointSectionName); 744endpoint.Binding = ConfigLoader.LookupBinding(channelEndpointElementCopy.Binding, channelEndpointElementCopy.BindingConfiguration, ConfigurationHelpers.GetEvaluationContext(channelEndpointElement)); 764CommonBehaviorsSection commonBehaviors = ConfigLoader.LookupCommonBehaviors(ConfigurationHelpers.GetEvaluationContext(channelEndpointElement)); 770EndpointBehaviorElement behaviorElement = ConfigLoader.LookupEndpointBehaviors(channelEndpointElementCopy.BehaviorConfiguration, ConfigurationHelpers.GetEvaluationContext(channelEndpointElement)); 964EndpointBehaviorElement behaviorEndpointElement = ConfigLoader.LookupEndpointBehaviors(serviceEndpointElementCopy.BehaviorConfiguration, ConfigurationHelpers.GetEvaluationContext(serviceEndpointElement)); 1007ComContractsSection comContracts = (ComContractsSection)ConfigurationHelpers.GetSection(ConfigurationStrings.ComContractsSectionPath); 1029ProtocolMappingSection protocolMapping = (ProtocolMappingSection)ConfigurationHelpers.UnsafeGetSection(ConfigurationStrings.ProtocolMappingSectionPath); 1052return (BindingCollectionElement)ConfigurationHelpers.UnsafeGetBindingCollectionElement(bindingSectionName); 1058return (BindingCollectionElement)ConfigurationHelpers.UnsafeGetAssociatedBindingCollectionElement(context, bindingSectionName); 1496if (IsConfigAboveApplication(ConfigurationHelpers.GetOriginalEvaluationContext(element)))