3 implementations of IContractBehavior
System.ServiceModel.Primitives (2)
System\ServiceModel\DeliveryRequirementsAttribute.cs (1)
15
public sealed class DeliveryRequirementsAttribute : Attribute,
IContractBehavior
System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (1)
13
internal class OperationSelectorBehavior :
IContractBehavior
System.ServiceModel.Primitives.Tests (1)
Channels\BehaviorExtensionTest.cs (1)
129
public class TestContractBehaviorAttribute : Attribute,
IContractBehavior
31 references to IContractBehavior
System.ServiceModel (1)
netstandard.cs (1)
116
[assembly: TypeForwardedTo(typeof(
IContractBehavior
))]
System.ServiceModel.Primitives (30)
System\ServiceModel\ChannelFactory.cs (2)
541
IContractBehavior
contractBehavior = implementation as
IContractBehavior
;
System\ServiceModel\DeliveryRequirementsAttribute.cs (4)
51
void
IContractBehavior
.Validate(ContractDescription description, ServiceEndpoint endpoint)
61
void
IContractBehavior
.AddBindingParameters(ContractDescription description, ServiceEndpoint endpoint, BindingParameterCollection parameters)
65
void
IContractBehavior
.ApplyClientBehavior(ContractDescription description, ServiceEndpoint endpoint, ClientRuntime proxy)
69
void
IContractBehavior
.ApplyDispatchBehavior(ContractDescription description, ServiceEndpoint endpoint, DispatchRuntime dispatch)
System\ServiceModel\Description\ContractDescription.cs (3)
125
public KeyedCollection<Type,
IContractBehavior
> ContractBehaviors
131
public KeyedByTypeCollection<
IContractBehavior
> Behaviors { get; } = new KeyedByTypeCollection<
IContractBehavior
>();
System\ServiceModel\Description\DispatcherBuilder.cs (2)
97
foreach (
IContractBehavior
icb in endpoint.Contract.Behaviors)
189
IContractBehavior
behavior = contractDescription.Behaviors[i];
System\ServiceModel\Description\ServiceEndpoint.cs (1)
203
IContractBehavior
iContractBehavior = contract.Behaviors[j];
System\ServiceModel\Description\TypeLoader.cs (14)
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];
319
delegate (Type currentType, KeyedByTypeCollection<
IContractBehavior
> behaviors)
321
foreach (
IContractBehavior
iContractBehavior in ServiceReflector.GetCustomAttributes(currentType, typeof(
IContractBehavior
), false))
619
foreach (
IContractBehavior
behaviorAttribute in ServiceReflector.GetCustomAttributes(implementationType, typeof(
IContractBehavior
), false))
2073
if (behavior is IOperationBehavior || behavior is
IContractBehavior
)
System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (4)
15
void
IContractBehavior
.Validate(ContractDescription description, ServiceEndpoint endpoint)
19
void
IContractBehavior
.AddBindingParameters(ContractDescription description, ServiceEndpoint endpoint, BindingParameterCollection parameters)
23
void
IContractBehavior
.ApplyDispatchBehavior(ContractDescription description, ServiceEndpoint endpoint, DispatchRuntime dispatch)
31
void
IContractBehavior
.ApplyClientBehavior(ContractDescription description, ServiceEndpoint endpoint, ClientRuntime proxy)