20 references to Contract
System.ServiceModel (19)
System\ServiceModel\Channels\HttpTransportBindingElement.cs (1)
882
bool useWebSocketTransport = WebSocketHelper.UseWebSocketTransport(this.WebSocketSettings.TransportUsage, endpointContext.ContractConversionContext.
Contract
.IsDuplex());
System\ServiceModel\Description\MessageContractExporter.cs (12)
161
return operation.DeclaringContract != contractContext.
Contract
;
434
if (ExportedMessages.WsdlMessages.ContainsKey(new MessageDescriptionDictionaryKey(contractContext.
Contract
, message)))
467
this.ExportedMessages.WsdlMessages.Add(new MessageDescriptionDictionaryKey(contractContext.
Contract
, message), wsdlMessage);
477
if (ExportedMessages.WsdlHeaderMessages.ContainsKey(new MessageDescriptionDictionaryKey(contractContext.
Contract
, message)))
486
this.ExportedMessages.WsdlHeaderMessages.Add(new MessageDescriptionDictionaryKey(contractContext.
Contract
, message), wsdlMessage);
498
this.ExportedMessages.WsdlHeaderMessages.Add(new MessageDescriptionDictionaryKey(contractContext.
Contract
, message), wsdlMessage);
529
WsdlNS.Message wsdlBodyMessage = this.ExportedMessages.WsdlMessages[new MessageDescriptionDictionaryKey(this.contractContext.
Contract
, messageDescription)];
727
if (!ExportedMessages.WrapperNamespaces.TryGetValue(new MessageDescriptionDictionaryKey(endpointContext.ContractConversionContext.
Contract
, messageDescription), out ns))
966
WsdlNS.Message wsdlMessage = this.ExportedMessages.WsdlMessages[new MessageDescriptionDictionaryKey(this.contractContext.
Contract
, description)];
1102
MessageDescriptionDictionaryKey key = new MessageDescriptionDictionaryKey(this.contractContext.
Contract
, description);
1249
reflector = new XmlSerializerOperationBehavior.Reflector(contractContext.
Contract
.Namespace, contractContext.
Contract
.ContractType);
System\ServiceModel\Description\MessageContractImporter.cs (4)
183
if (contractContext.
Contract
.Operations.Count <= 0)
189
OperationInfo[] infos = new OperationInfo[contractContext.
Contract
.Operations.Count];
191
foreach (OperationDescription operation in contractContext.
Contract
.Operations)
206
foreach (OperationDescription operation in contractContext.
Contract
.Operations)
System\ServiceModel\Description\WsdlExporter.cs (1)
1183
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(ThrowExtensionException(contractContext.
Contract
, extension, e));
System\ServiceModel\Description\WsdlImporter.cs (1)
654
existingContract = contractContext.
Contract
;
System.Web.Extensions (1)
Compilation\WCFModel\HttpBindingExtension.cs (1)
70
httpBindingContracts.Add(context.ContractConversionContext.
Contract
);