System\ServiceModel\Description\ConfigLoader.cs (21)
146internal void LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, string configurationName)
148ServiceEndpoint standardEndpoint;
188internal void LoadCommonClientBehaviors(ServiceEndpoint serviceEndpoint)
496ServiceEndpoint serviceEndpoint;
537ServiceEndpoint endpoint = LookupEndpoint(endpointElement, ConfigurationHelpers.GetEvaluationContext(serviceElement), host, description);
547public static void LoadDefaultEndpointBehaviors(ServiceEndpoint endpoint)
584internal static ServiceEndpoint LookupEndpoint(string configurationName, EndpointAddress address, ContractDescription contract)
592internal static ServiceEndpoint LookupEndpoint(string configurationName, EndpointAddress address, ContractDescription contract, ContextInformation configurationContext)
595ServiceEndpoint serviceEndpoint;
600internal static ServiceEndpoint LookupEndpoint(ChannelEndpointElement channelEndpointElement, ContextInformation context)
610static ServiceEndpoint LookupEndpoint(ChannelEndpointElement channelEndpointElement, ContextInformation context, EndpointAddress address, ContractDescription contract)
613ServiceEndpoint retval = null;
725EndpointAddress address, ContextInformation context, ContractDescription contract, out ServiceEndpoint endpoint)
782internal ServiceEndpoint LookupEndpoint(ServiceEndpointElement serviceEndpointElement, ContextInformation context,
786ServiceEndpoint retval = null;
893ContextInformation context, ServiceHostBase host, ServiceDescription description, out ServiceEndpoint endpoint, bool omitSettingEndpointAddress = false)
979internal static void ConfigureEndpointAddress(ServiceEndpointElement serviceEndpointElement, ServiceHostBase host, ServiceEndpoint endpoint)
990internal static void ConfigureEndpointListenUri(ServiceEndpointElement serviceEndpointElement, ServiceHostBase host, ServiceEndpoint endpoint)
1273static bool IsChannelElementMatch(ChannelEndpointElement channelElement, ContractDescription contract, EndpointAddress address, bool useChannelElementKind, out ServiceEndpoint serviceEndpoint)
1318EndpointAddress address, bool wildcard, bool useChannelElementKind, out ServiceEndpoint serviceEndpoint)
1323ServiceEndpoint standardEndpoint;
System\ServiceModel\Description\DispatcherBuilder.cs (33)
23static void AddMsmqIntegrationContractInformation(ServiceEndpoint endpoint)
46static Type[] ProcessDescriptionForMsmqIntegration(ServiceEndpoint endpoint, Type[] existingSerializationTypes)
79internal static ClientRuntime BuildProxyBehavior(ServiceEndpoint serviceEndpoint, out BindingParameterCollection parameters)
116ServiceEndpoint endpoint;
120public EndpointInfo(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher, EndpointFilterProvider provider)
126public ServiceEndpoint Endpoint { get { return this.endpoint; } }
183public Collection<ServiceEndpoint> Endpoints = new Collection<ServiceEndpoint>();
205ServiceEndpoint endpoint = description.Endpoints[i];
220static void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection parameters)
529foreach (ServiceEndpoint endpoint in description.Endpoints)
540static Uri EnsureListenUri(ServiceHostBase serviceHost, ServiceEndpoint endpoint)
600internal static BindingParameterCollection GetBindingParameters(ServiceHostBase serviceHost, Collection<ServiceEndpoint> endpoints)
610foreach (ServiceEndpoint endpoint in endpoints)
619internal static ListenUriInfo GetListenUriInfoForEndpoint(ServiceHostBase host, ServiceEndpoint endpoint)
648ServiceEndpoint endpoint = description.Endpoints[i];
708ServiceEndpoint endpoint = stuff.Value.Endpoints[i];
749ServiceEndpoint endpoint = stuff.Value.Endpoints[i];
833ServiceEndpoint endpoint = stuff.Value.Endpoints[i];
922ServiceEndpoint endpoint,
1051static void ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime clientRuntime)
1205public void Validate(ServiceEndpoint serviceEndpoint) { }
1206public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection parameters) { }
1207public void ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime behavior)
1216public void ApplyDispatchBehavior(ServiceEndpoint serviceEndpoint, EndpointDispatcher endpointDispatcher)
1263public void Validate(ServiceEndpoint serviceEndpoint) { }
1264public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection parameters) { }
1265public void ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime behavior)
1270public void ApplyDispatchBehavior(ServiceEndpoint serviceEndpoint, EndpointDispatcher endpointDispatcher)
1318public void Validate(ServiceEndpoint serviceEndpoint) { }
1319public void ApplyDispatchBehavior(ServiceEndpoint serviceEndpoint, EndpointDispatcher endpointDispatcher) { }
1320public void ApplyClientBehavior(ServiceEndpoint serviceEndpoint, ClientRuntime behavior) { }
1321public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection parameters)
System\ServiceModel\Description\WsdlExporter.cs (14)
31Dictionary<EndpointDictionaryKey, ServiceEndpoint> exportedEndpoints = new Dictionary<EndpointDictionaryKey, ServiceEndpoint>();
97public override void ExportEndpoint(ServiceEndpoint endpoint)
108public void ExportEndpoints(IEnumerable<ServiceEndpoint> endpoints, XmlQualifiedName wsdlServiceQName)
113internal void ExportEndpoints(IEnumerable<ServiceEndpoint> endpoints, XmlQualifiedName wsdlServiceQName, BindingParameterCollection bindingParameters)
123foreach (ServiceEndpoint endpoint in endpoints)
145void ExportEndpoint(ServiceEndpoint endpoint, XmlQualifiedName wsdlServiceQName, BindingParameterCollection bindingParameters)
307WsdlNS.Binding CreateWsdlBindingAndPort(ServiceEndpoint endpoint, XmlQualifiedName wsdlServiceQName, out WsdlNS.Port wsdlPort, out bool newBinding, out bool bindingNameWasUniquified)
718internal void AttachPolicy(ServiceEndpoint endpoint, WsdlEndpointConversionContext endpointContext, PolicyConversionContext policyContext)
1043internal static XmlQualifiedName GetBindingQName(ServiceEndpoint endpoint, WsdlExporter exporter, out bool wasUniquified)
1072internal static string GetPortName(ServiceEndpoint endpoint, WsdlNS.Service wsdlService)
1210Exception ThrowExtensionException(ServiceEndpoint endpoint, IWsdlExportExtension exporter, Exception e)
1255public readonly ServiceEndpoint Endpoint;
1258public EndpointDictionaryKey(ServiceEndpoint endpoint, XmlQualifiedName serviceQName)
System\ServiceModel\ServiceConfiguration.cs (14)
151public void AddServiceEndpoint(ServiceEndpoint endpoint)
201public ServiceEndpoint AddServiceEndpoint(Type contractType, Binding binding, string address)
214public ServiceEndpoint AddServiceEndpoint(Type contractType, Binding binding, Uri address)
228ServiceEndpoint endpoint = new ServiceEndpoint(contract, binding, new EndpointAddress(ServiceHost.MakeAbsoluteUri(address, binding, this.host.InternalBaseAddresses)));
241public ServiceEndpoint AddServiceEndpoint(Type contractType, Binding binding, string address, Uri listenUri)
245ServiceEndpoint endpoint = this.AddServiceEndpoint(contractType, binding, address);
258public ServiceEndpoint AddServiceEndpoint(Type contractType, Binding binding, Uri address, Uri listenUri)
262ServiceEndpoint endpoint = this.AddServiceEndpoint(contractType, binding, address);
272public void SetEndpointAddress(ServiceEndpoint endpoint, string relativeAddress)
285public Collection<ServiceEndpoint> EnableProtocol(Binding protocol)
288Collection<ServiceEndpoint> generatedEndpoints = new Collection<ServiceEndpoint>();
305ServiceEndpoint endpoint = new ServiceEndpoint(contract, protocol, new EndpointAddress(uri));
342private void SetListenUri(ServiceEndpoint endpoint, Binding binding, Uri listenUri)
System\ServiceModel\ServiceHost.cs (35)
50Dictionary<DispatcherBuilder.ListenUriInfo, Collection<ServiceEndpoint>> endpointsByListenUriInfo;
278internal Dictionary<DispatcherBuilder.ListenUriInfo, Collection<ServiceEndpoint>> EndpointsByListenUriInfo
290Dictionary<DispatcherBuilder.ListenUriInfo, Collection<ServiceEndpoint>> GetEndpointsByListenUriInfo()
292Dictionary<DispatcherBuilder.ListenUriInfo, Collection<ServiceEndpoint>> endpointDictionary = new Dictionary<DispatcherBuilder.ListenUriInfo, Collection<ServiceEndpoint>>();
293foreach (ServiceEndpoint endpoint in this.Description.Endpoints)
298endpointDictionary.Add(listenUriInfo, new Collection<ServiceEndpoint>());
315public ServiceEndpoint AddServiceEndpoint(string implementedContract, Binding binding, string address)
320public ServiceEndpoint AddServiceEndpoint(string implementedContract, Binding binding, string address, Uri listenUri)
327ServiceEndpoint endpoint = this.AddServiceEndpoint(implementedContract, binding, new Uri(address, UriKind.RelativeOrAbsolute));
337public ServiceEndpoint AddServiceEndpoint(string implementedContract, Binding binding, Uri address)
342public ServiceEndpoint AddServiceEndpoint(string implementedContract, Binding binding, Uri address, Uri listenUri)
374ServiceEndpoint serviceEndpoint = new ServiceEndpoint(contract, binding, new EndpointAddress(via));
387public virtual void AddServiceEndpoint(ServiceEndpoint endpoint)
421public void SetEndpointAddress(ServiceEndpoint endpoint, string relativeAddress)
484public virtual ReadOnlyCollection<ServiceEndpoint> AddDefaultEndpoints()
486List<ServiceEndpoint> defaultEndpoints = new List<ServiceEndpoint>();
509return new ReadOnlyCollection<ServiceEndpoint>(defaultEndpoints);
512internal virtual void AddDefaultEndpoints(Binding defaultBinding, List<ServiceEndpoint> defaultEndpoints)
658return DispatcherBuilder.GetBindingParameters(this, new Collection<ServiceEndpoint>());
661internal BindingParameterCollection GetBindingParameters(ServiceEndpoint inputEndpoint)
663Collection<ServiceEndpoint> endpoints;
666endpoints = new Collection<ServiceEndpoint>();
670endpoints = new Collection<ServiceEndpoint>();
677internal BindingParameterCollection GetBindingParameters(Collection<ServiceEndpoint> endpoints)
999foreach (ServiceEndpoint serviceEndpoint in this.Description.Endpoints)
1719public ServiceEndpoint AddServiceEndpoint(Type implementedContract, Binding binding, string address)
1724public ServiceEndpoint AddServiceEndpoint(Type implementedContract, Binding binding, string address, Uri listenUri)
1731ServiceEndpoint endpoint = this.AddServiceEndpoint(implementedContract, binding, new Uri(address, UriKind.RelativeOrAbsolute));
1740public ServiceEndpoint AddServiceEndpoint(Type implementedContract, Binding binding, Uri address)
1763public ServiceEndpoint AddServiceEndpoint(Type implementedContract, Binding binding, Uri address, Uri listenUri)
1775ServiceEndpoint endpoint = AddServiceEndpoint(reflectedAndBehaviorContracts.GetConfigKey(implementedContract), binding, address);
1784internal override void AddDefaultEndpoints(Binding defaultBinding, List<ServiceEndpoint> defaultEndpoints)
1818ServiceEndpoint endpoint = AddServiceEndpoint(contract.ConfigurationName, defaultBinding, string.Empty);