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