1 implementation of IContractBehavior
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (1)
12internal class OperationSelectorBehavior : IContractBehavior
29 references to IContractBehavior
dotnet-svcutil-lib (29)
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelFactory.cs (2)
610IContractBehavior contractBehavior = implementation as IContractBehavior;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ContractDescription.cs (4)
25private KeyedByTypeCollection<IContractBehavior> _behaviors = new KeyedByTypeCollection<IContractBehavior>(); 141public KeyedCollection<Type, IContractBehavior> ContractBehaviors 147public KeyedByTypeCollection<IContractBehavior> Behaviors
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DispatcherBuilder.cs (2)
100foreach (IContractBehavior icb in endpoint.Contract.Behaviors) 190IContractBehavior behavior = contractDescription.Behaviors[i];
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (1)
566foreach (IContractBehavior behavior in contract.Behaviors)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpoint.cs (1)
223IContractBehavior iContractBehavior = contract.Behaviors[j];
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (15)
80if (serviceImplementation != null && serviceImplementation is IContractBehavior) 82contractDescription.Behaviors.Add((IContractBehavior)serviceImplementation); 274AddBehaviorsAtOneScope<IContractBehavior, KeyedByTypeCollection<IContractBehavior>>(targetInterface, contractDesc.Behaviors, 305private void GetIContractBehaviorsFromInterfaceType(Type interfaceType, KeyedByTypeCollection<IContractBehavior> behaviors) 307object[] ifaceAttributes = ServiceReflector.GetCustomAttributes(interfaceType, typeof(IContractBehavior), false); 310IContractBehavior behavior = (IContractBehavior)ifaceAttributes[i]; 317ApplyServiceInheritance<IContractBehavior, KeyedByTypeCollection<IContractBehavior>>( 319delegate (Type currentType, KeyedByTypeCollection<IContractBehavior> behaviors) 321foreach (IContractBehavior iContractBehavior in ServiceReflector.GetCustomAttributes(currentType, typeof(IContractBehavior), false)) 606foreach (IContractBehavior behaviorAttribute in ServiceReflector.GetCustomAttributes(implementationType, typeof(IContractBehavior), false))
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (4)
14void IContractBehavior.Validate(ContractDescription description, ServiceEndpoint endpoint) 18void IContractBehavior.AddBindingParameters(ContractDescription description, ServiceEndpoint endpoint, BindingParameterCollection parameters) 22void IContractBehavior.ApplyDispatchBehavior(ContractDescription description, ServiceEndpoint endpoint, DispatchRuntime dispatch) 28void IContractBehavior.ApplyClientBehavior(ContractDescription description, ServiceEndpoint endpoint, ClientRuntime proxy)