33 references to Behaviors
System.ServiceModel (23)
System\ServiceModel\Administration\ContractInstanceProvider.cs (1)
71FillBehaviorsInfo(contract, contractDescription.Behaviors);
System\ServiceModel\ChannelFactory.cs (1)
866endpoint.Contract.Behaviors.Add(contractBehavior);
System\ServiceModel\Channels\PeerNeighborManager.cs (1)
1068this.channelFactory.Endpoint.Contract.Behaviors.Add(new PeerOperationSelectorBehavior(this.messageHandler));
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (2)
132contract.Behaviors.Add(new OperationSelectorBehavior()); 136contract.Behaviors.Add(comPlusContractBehavior);
System\ServiceModel\Description\ContractDescription.cs (1)
143get { return this.Behaviors; }
System\ServiceModel\Description\DispatcherBuilder.cs (5)
222foreach (IContractBehavior icb in endpoint.Contract.Behaviors) 847for (int k = 0; k < endpoint.Contract.Behaviors.Count; k++) 849IContractBehavior behavior = endpoint.Contract.Behaviors[k]; 1055for (int i = 0; i < contractDescription.Behaviors.Count; i++) 1057IContractBehavior behavior = contractDescription.Behaviors[i];
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
620foreach (IContractBehavior behavior in contract.Behaviors)
System\ServiceModel\Description\ServiceEndpoint.cs (2)
235for (int j = 0; j < contract.Behaviors.Count; j++) 237IContractBehavior iContractBehavior = contract.Behaviors[j];
System\ServiceModel\Description\ServiceMetadataBehavior.cs (2)
443mexContract.Behaviors.Add(new ServiceMetadataContractBehavior(true)); 477ServiceMetadataContractBehavior contractBehavior = endpoint.Contract.Behaviors.Find<ServiceMetadataContractBehavior>();
System\ServiceModel\Description\TypeLoader.cs (5)
82contractDescription.Behaviors.Add((IContractBehavior)serviceImplementation); 224contractDesc.Behaviors.Add(new OperationSelectorBehavior()); 285AddBehaviorsAtOneScope<IContractBehavior, KeyedByTypeCollection<IContractBehavior>>(targetInterface, contractDesc.Behaviors, 330serviceType, description.Behaviors, 550serviceEndpoint.Contract.Behaviors.Add(behaviorAttribute);
System\ServiceModel\Description\WsdlContractConversionContext.cs (1)
54foreach (IWsdlExportExtension extension in contract.Behaviors.FindAll<IWsdlExportExtension>())
System\ServiceModel\Description\WsdlEndpointConversionContext.cs (1)
75foreach (IWsdlExportExtension extension in endpoint.Contract.Behaviors.FindAll<IWsdlExportExtension>())
System.ServiceModel.Activities (6)
System\ServiceModel\Activities\Description\WorkflowServiceBehavior.cs (1)
112return serviceEndpoint is WorkflowHostingEndpoint || serviceEndpoint.Contract.Behaviors.Contains(typeof(WorkflowContractBehaviorAttribute));
System\ServiceModel\Activities\InternalSendMessage.cs (2)
3195c1.Behaviors.Count == c2.Behaviors.Count && //we have no way to verify each one
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (1)
76tempControlServiceContract.Behaviors.Add(new ServiceMetadataContractBehavior(true));
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (2)
32this.Contract.Behaviors.Add(new ServiceMetadataContractBehavior(false)); 33this.Contract.Behaviors.Add(new WorkflowHostingContractBehavior());
System.ServiceModel.Web (4)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (2)
74if (this.serviceEndpoint.Contract.Behaviors.Contains(typeof(JavascriptCallbackBehaviorAttribute))) 76JavascriptCallbackBehaviorAttribute behavior = (JavascriptCallbackBehaviorAttribute)this.serviceEndpoint.Contract.Behaviors[typeof(JavascriptCallbackBehaviorAttribute)];
System\ServiceModel\Description\WebHttpBehavior.cs (2)
157if (endpoint.Contract.Behaviors.Contains(typeof(JavascriptCallbackBehaviorAttribute))) 159JavascriptCallbackBehaviorAttribute behavior = endpoint.Contract.Behaviors[typeof(JavascriptCallbackBehaviorAttribute)] as JavascriptCallbackBehaviorAttribute;