示例#1
0
 internal MessageBindingExporter(WsdlExporter exporter, WsdlEndpointConversionContext endpointContext)
 {
     this.endpointContext  = endpointContext;
     this.exportedMessages = (MessageContractExporter.MessageExportContext)exporter.State[typeof(MessageContractExporter.MessageExportContext)];
     this.soapVersion      = SoapHelper.GetSoapVersion(endpointContext.WsdlBinding);
     this.exporter         = exporter;
 }
 internal MessageBindingExporter(WsdlExporter exporter, WsdlEndpointConversionContext endpointContext)
 {
     this.endpointContext = endpointContext;
     this.exportedMessages = (MessageContractExporter.MessageExportContext) exporter.State[typeof(MessageContractExporter.MessageExportContext)];
     this.soapVersion = SoapHelper.GetSoapVersion(endpointContext.WsdlBinding);
     this.exporter = exporter;
 }