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