19 references to DataContractSerializerMessageContractImporter
System.ServiceModel (18)
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (1)
473
if (wsdlImportExtensions[i].GetType() == typeof(
DataContractSerializerMessageContractImporter
))
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (1)
331
if (wsdlImportExtensions[i].GetType() == typeof(
DataContractSerializerMessageContractImporter
))
System\ServiceModel\Configuration\WsdlImporterElementCollection.cs (1)
35
this.Add(new WsdlImporterElement(typeof(
DataContractSerializerMessageContractImporter
)));
System\ServiceModel\Description\MessageContractExporter.cs (8)
167
XmlSchema schema = SchemaHelper.GetSchema(
DataContractSerializerMessageContractImporter
.GenericMessageTypeName.Namespace, schemas);
169
if (!schema.SchemaTypes.Contains(
DataContractSerializerMessageContractImporter
.GenericMessageTypeName))
172
genericMessageType.Name =
DataContractSerializerMessageContractImporter
.GenericMessageTypeName.Name;
186
WsdlNS.MessagePart wsdlPart = AddMessagePart(message, partName, XmlQualifiedName.Empty,
DataContractSerializerMessageContractImporter
.GenericMessageTypeName);
193
XmlSchema schema = SchemaHelper.GetSchema(
DataContractSerializerMessageContractImporter
.StreamBodyTypeName.Namespace, schemas);
194
if (!schema.SchemaTypes.Contains(
DataContractSerializerMessageContractImporter
.StreamBodyTypeName))
197
streamBodyType.Name =
DataContractSerializerMessageContractImporter
.StreamBodyTypeName.Name;
207
ExportMessagePart(message, streamPart,
DataContractSerializerMessageContractImporter
.StreamBodyTypeName, null/*xsdType*/, false/*isOptional*/, false/*isNillable*/, skipSchemaExport, !isRpc, wrapperNs, wrapperSequence, schemas);
System\ServiceModel\Description\MessageContractImporter.cs (7)
650
return CheckPart(part.Type,
DataContractSerializerMessageContractImporter
.GenericMessageTypeName);
655
return CheckAndAddPart(part.Type,
DataContractSerializerMessageContractImporter
.GenericMessageTypeName, part.Name, string.Empty, typeof(Message), description, isReply);
670
return CheckPart(((XmlSchemaElement)rootSequence.Items[0]).SchemaTypeName,
DataContractSerializerMessageContractImporter
.StreamBodyTypeName);
684
return CheckPart(typeName,
DataContractSerializerMessageContractImporter
.StreamBodyTypeName);
702
return CheckAndAddPart(element.ElementSchemaType.QualifiedName,
DataContractSerializerMessageContractImporter
.StreamBodyTypeName, element.RefName.Name, GetLocalElementNamespace(element.RefName.Namespace, element, elementFormDefault), typeof(Stream), description, isReply);
706
return CheckAndAddPart(element.SchemaTypeName,
DataContractSerializerMessageContractImporter
.StreamBodyTypeName, element.Name, GetLocalElementNamespace(ns, element, elementFormDefault), typeof(Stream), description, isReply);
719
return CheckAndAddPart(typeName,
DataContractSerializerMessageContractImporter
.StreamBodyTypeName, part.Name, ns, typeof(Stream), description, isReply);
System.Web.Extensions (1)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
1276
RemoveExtension(typeof(
DataContractSerializerMessageContractImporter
), wsdlImportExtensions);