26 references to Behaviors
Binding.Http.IntegrationTests (2)
BasicHttpBindingTests.4.0.0.cs (2)
120factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 178factory.Endpoint.Behaviors.Add(handlerFactoryBehavior);
Binding.ReliableSession.IntegrationTests (8)
NetHttpBindingTests.cs (4)
145factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 222factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 302factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 374factory.Endpoint.Behaviors.Add(handlerFactoryBehavior);
WSHttpBindingTests.cs (4)
145factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 222factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 302factory.Endpoint.Behaviors.Add(handlerFactoryBehavior); 374factory.Endpoint.Behaviors.Add(handlerFactoryBehavior);
System.ServiceModel.Primitives (16)
System\ServiceModel\ChannelFactory.cs (6)
173if (endpoint.Behaviors.Find<SecurityCredentialsManager>() == null) 175endpoint.Behaviors.Add(new ClientCredentials()); 182ClientCredentials c = endpoint.Behaviors.Find<ClientCredentials>(); 186endpoint.Behaviors.Add(c); 256ClientCredentials credentials = Endpoint.Behaviors.Find<ClientCredentials>(); 539endpoint.Behaviors.Add(channelBehavior);
System\ServiceModel\Description\DispatcherBuilder.cs (3)
101foreach (IEndpointBehavior ieb in endpoint.Behaviors) 194for (int i = 0; i < serviceEndpoint.Behaviors.Count; i++) 196IEndpointBehavior behavior = serviceEndpoint.Behaviors[i];
System\ServiceModel\Description\ServiceEndpoint.cs (3)
42get { return Behaviors; } 210for (int j = 0; j < Behaviors.Count; j++) 212IEndpointBehavior ieb = Behaviors[j];
System\ServiceModel\Description\TypeLoader.cs (4)
598CallbackBehaviorAttribute attr = serviceEndpoint.Behaviors.Find<CallbackBehaviorAttribute>(); 601serviceEndpoint.Behaviors.Insert(0, new CallbackBehaviorAttribute()); 612serviceEndpoint.Behaviors.Insert(0, behaviorAttribute); 616serviceEndpoint.Behaviors.Add(behaviorAttribute);