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