9 implementations of IContractBehavior
System.ServiceModel (6)
System\ServiceModel\Channels\PeerHelpers.cs (1)
881internal class PeerOperationSelectorBehavior : IContractBehavior
System\ServiceModel\ComIntegration\ComPlusContractBehavior.cs (1)
13class ComPlusContractBehavior : IContractBehavior
System\ServiceModel\DeliveryRequirementsAttribute.cs (1)
14public sealed class DeliveryRequirementsAttribute : Attribute, IContractBehavior, IContractBehaviorAttribute
System\ServiceModel\Description\ServiceMetadataContractBehavior.cs (1)
11public sealed class ServiceMetadataContractBehavior : IContractBehavior
System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (1)
14class OperationSelectorBehavior : IContractBehavior
System\ServiceModel\Security\WSTrustServiceContract.cs (1)
45public class WSTrustServiceContract : IWSTrustFeb2005SyncContract, IWSTrust13SyncContract, IWSTrustFeb2005AsyncContract, IWSTrust13AsyncContract, IWsdlExportExtension, IContractBehavior
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Description\WorkflowContractBehaviorAttribute.cs (1)
14public sealed class WorkflowContractBehaviorAttribute : Attribute, IContractBehavior
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (1)
92class WorkflowHostingContractBehavior : IContractBehavior
System.ServiceModel.Web (1)
System\ServiceModel\Web\JavascriptCallbackBehaviorAttribute.cs (1)
16public sealed class JavascriptCallbackBehaviorAttribute : Attribute, IContractBehavior
46 references to IContractBehavior
System.ServiceModel (46)
System\ServiceModel\Administration\ContractInstanceProvider.cs (3)
122static void FillBehaviorsInfo(IWmiInstance operation, KeyedByTypeCollection<IContractBehavior> behaviors) 125foreach (IContractBehavior behavior in behaviors) 137static void FillBehaviorInfo(IContractBehavior behavior, IWmiInstance existingInstance, out IWmiInstance instance)
System\ServiceModel\ChannelFactory.cs (2)
863IContractBehavior contractBehavior = implementation as IContractBehavior;
System\ServiceModel\Channels\PeerHelpers.cs (4)
890void IContractBehavior.AddBindingParameters(ContractDescription description, ServiceEndpoint endpoint, BindingParameterCollection parameters) 894void IContractBehavior.Validate(ContractDescription description, ServiceEndpoint endpoint) 898void IContractBehavior.ApplyDispatchBehavior(ContractDescription description, ServiceEndpoint endpoint, DispatchRuntime 909void IContractBehavior.ApplyClientBehavior(ContractDescription description, ServiceEndpoint endpoint, ClientRuntime proxy)
System\ServiceModel\DeliveryRequirementsAttribute.cs (4)
63void IContractBehavior.Validate(ContractDescription description, ServiceEndpoint endpoint) 73void IContractBehavior.AddBindingParameters(ContractDescription description, ServiceEndpoint endpoint, BindingParameterCollection parameters) 77void IContractBehavior.ApplyClientBehavior(ContractDescription description, ServiceEndpoint endpoint, ClientRuntime proxy) 81void IContractBehavior.ApplyDispatchBehavior(ContractDescription description, ServiceEndpoint endpoint, DispatchRuntime dispatch)
System\ServiceModel\Description\ContractDescription.cs (4)
25KeyedByTypeCollection<IContractBehavior> behaviors = new KeyedByTypeCollection<IContractBehavior>(); 141public KeyedCollection<Type, IContractBehavior> ContractBehaviors 147public KeyedByTypeCollection<IContractBehavior> Behaviors
System\ServiceModel\Description\DispatcherBuilder.cs (3)
222foreach (IContractBehavior icb in endpoint.Contract.Behaviors) 849IContractBehavior behavior = endpoint.Contract.Behaviors[k]; 1057IContractBehavior behavior = contractDescription.Behaviors[i];
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
620foreach (IContractBehavior behavior in contract.Behaviors)
System\ServiceModel\Description\ServiceEndpoint.cs (1)
237IContractBehavior iContractBehavior = contract.Behaviors[j];
System\ServiceModel\Description\ServiceMetadataContractBehavior.cs (4)
33void IContractBehavior.Validate(ContractDescription description, ServiceEndpoint endpoint) 37void IContractBehavior.ApplyDispatchBehavior(ContractDescription description, ServiceEndpoint endpoint, DispatchRuntime dispatch) 41void IContractBehavior.AddBindingParameters(ContractDescription description, ServiceEndpoint endpoint, BindingParameterCollection parameters) 45void IContractBehavior.ApplyClientBehavior(ContractDescription description, ServiceEndpoint endpoint, ClientRuntime proxy)
System\ServiceModel\Description\TypeLoader.cs (15)
80if (serviceImplementation != null && serviceImplementation is IContractBehavior) 82contractDescription.Behaviors.Add((IContractBehavior)serviceImplementation); 285AddBehaviorsAtOneScope<IContractBehavior, KeyedByTypeCollection<IContractBehavior>>(targetInterface, contractDesc.Behaviors, 317void GetIContractBehaviorsFromInterfaceType(Type interfaceType, KeyedByTypeCollection<IContractBehavior> behaviors) 319object[] ifaceAttributes = ServiceReflector.GetCustomAttributes(interfaceType, typeof(IContractBehavior), false); 322IContractBehavior behavior = (IContractBehavior)ifaceAttributes[i]; 329ApplyServiceInheritance<IContractBehavior, KeyedByTypeCollection<IContractBehavior>>( 331delegate(Type currentType, KeyedByTypeCollection<IContractBehavior> behaviors) 334foreach (IContractBehavior iContractBehavior in ServiceReflector.GetCustomAttributes(currentType, typeof(IContractBehavior), false)) 548foreach (IContractBehavior behaviorAttribute in ServiceReflector.GetCustomAttributes(implementationType, typeof(IContractBehavior), false))
System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (4)
16void IContractBehavior.Validate(ContractDescription description, ServiceEndpoint endpoint) 20void IContractBehavior.AddBindingParameters(ContractDescription description, ServiceEndpoint endpoint, BindingParameterCollection parameters) 24void IContractBehavior.ApplyDispatchBehavior(ContractDescription description, ServiceEndpoint endpoint, DispatchRuntime dispatch) 30void IContractBehavior.ApplyClientBehavior(ContractDescription description, ServiceEndpoint endpoint, ClientRuntime proxy)
System\ServiceModel\ServiceHost.cs (1)
1970if ((typeof(IServiceBehavior).IsAssignableFrom(this.serviceType) || typeof(IContractBehavior).IsAssignableFrom(this.serviceType))