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