System\ServiceModel\Description\DispatcherBuilder.cs (24)
58foreach (OperationDescription operationDesc in endpoint.Contract.Operations)
86ContractDescription contractDescription = serviceEndpoint.Contract;
206ContractDescription contract = endpoint.Contract;
210if (description.Endpoints[j].Contract == contract)
222foreach (IContractBehavior icb in endpoint.Contract.Behaviors)
224icb.AddBindingParameters(endpoint.Contract, endpoint, parameters);
230foreach (OperationDescription op in endpoint.Contract.Operations)
269ContractDescription contract = stuff.Endpoints[i].Contract;
650foreach (OperationDescription operation in endpoint.Contract.Operations)
668endpoint.Contract.Name,
753EndpointDispatcher dispatcher = DispatcherBuilder.BuildDispatcher(serviceHost, description, endpoint, endpoint.Contract, provider);
755for (int j = 0; j < endpoint.Contract.Operations.Count; j++)
757OperationDescription operation = endpoint.Contract.Operations[j];
787PerformanceCounters.AddPerformanceCountersForEndpoint(serviceHost, endpoint.Contract, dispatcher);
847for (int k = 0; k < endpoint.Contract.Behaviors.Count; k++)
849IContractBehavior behavior = endpoint.Contract.Behaviors[k];
850behavior.ApplyDispatchBehavior(endpoint.Contract, endpoint, dispatcher.DispatchRuntime);
861DispatcherBuilder.BindOperations(endpoint.Contract, null, dispatcher.DispatchRuntime);
1054ContractDescription contractDescription = serviceEndpoint.Contract;
1211if (serviceEndpoint.Contract.IsDuplex())
1268serviceEndpoint.Contract);
1273serviceEndpoint.Binding.CreateBindingElements(), serviceEndpoint.Contract);
1353requirements.Add(ChannelProtectionRequirements.CreateFromContractAndUnionResponseProtectionRequirements(endpoint.Contract, isc, isForClient));
1357requirements.Add(ChannelProtectionRequirements.CreateFromContract(endpoint.Contract, isc, isForClient));
System\ServiceModel\Description\WsdlExporter.cs (12)
157this.ExportContract(endpoint.Contract);
161WsdlContractConversionContext contractContext = this.exportedContracts[endpoint.Contract];
180foreach (OperationDescription operation in endpoint.Contract.Operations)
187WsdlNS.OperationBinding wsdlOperationBinding = CreateWsdlOperationBinding(endpoint.Contract, operation);
219exportedBindings.Add(new BindingDictionaryKey(endpoint.Contract, endpoint.Binding), endpointContext);
223endpointContext = new WsdlEndpointConversionContext(exportedBindings[new BindingDictionaryKey(endpoint.Contract, endpoint.Binding)], endpoint, wsdlPort);
229Errors.Add(new MetadataConversionError(SR.GetString(SR.WarnDuplicateBindingQNameNameOnExport, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name), true /*isWarning*/));
316if (!exportedBindings.TryGetValue(new BindingDictionaryKey(endpoint.Contract, endpoint.Binding), out bindingConversionContext))
324WsdlNS.PortType wsdlPortType = exportedContracts[endpoint.Contract].WsdlPortType;
744foreach (OperationDescription operation in endpoint.Contract.Operations)
1218endpoint.Contract.Name,
1219endpoint.Contract.Namespace,
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (15)
119ValidateBinding(binding, serviceEndpoint.Contract, out sbe);
152ValidateBinding(binding, endpoint.Contract, out sbe);
155SecurityTokenParameterInclusionModeRule.Validate(sbe, binding, endpoint.Contract, description.Behaviors);
290for (int j = 0; j < endpoint.Contract.Operations.Count; j++)
292OperationDescription operation = endpoint.Contract.Operations[j];
298throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.OperationDoesNotAllowImpersonation, operation.Name, endpoint.Contract.Name, endpoint.Contract.Namespace)));
302ValidateWindowsIdentityCapability(endpoint.Binding, endpoint.Contract, operation);
391SR.GetString(SR.CannotPerformS4UImpersonationOnPlatform, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name, endpoint.Contract.Namespace)));
949ContractProtectionRequirementsRule.GetRequiredProtectionLevels(endpoint.Contract, security.GetIndividualProperty<ISecurityCapabilities>().SupportedRequestProtectionLevel, security.GetIndividualProperty<ISecurityCapabilities>().SupportedResponseProtectionLevel,
1036throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotPerformImpersonationOnUsernameToken, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name, endpoint.Contract.Namespace)));
1054for (int i = 0; i < endpoint.Contract.Operations.Count; ++i)
1056OperationDescription operation = endpoint.Contract.Operations[i];