11 writes to Type
System.ServiceModel (3)
System\ServiceModel\Description\MessageContractExporter.cs (1)
297
part.
Type
= typeName;
System\ServiceModel\Security\WSTrustServiceContract.cs (2)
2194
inputMessage.Parts[0].
Type
= null;
2195
outputMessage.Parts[0].
Type
= null;
System.Web.Services (8)
System\Web\Services\Description\HttpProtocolReflector.cs (2)
106
part.
Type
= new XmlQualifiedName(typeName, typeNs);
109
part.
Type
= new XmlQualifiedName("string", XmlSchema.Namespace);
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
6698
o.
@Type
= ToXmlQualifiedName(Reader.Value);
System\Web\Services\Description\SoapProtocolReflector.cs (5)
120
part.
Type
= new XmlQualifiedName(member.TypeName, member.TypeNamespace);
159
part.
Type
= new XmlQualifiedName(members.TypeName, members.TypeNamespace);
167
part.
Type
= new XmlQualifiedName(member.TypeName, member.TypeNamespace);
180
part.
Type
= new XmlQualifiedName(typeName, members[0].Namespace);
201
part.
Type
= new XmlQualifiedName(member.TypeName, member.TypeNamespace);
42 references to Type
System.ServiceModel (13)
System\ServiceModel\Description\MessageContractImporter.cs (13)
636
if (IsNullOrEmpty(detailElementQname) || !IsNullOrEmpty(faultMessageDetail.
Type
))
650
return CheckPart(part.
Type
, DataContractSerializerMessageContractImporter.GenericMessageTypeName);
655
return CheckAndAddPart(part.
Type
, DataContractSerializerMessageContractImporter.GenericMessageTypeName, part.Name, string.Empty, typeof(Message), description, isReply);
675
XmlQualifiedName typeName = part.
Type
;
711
XmlQualifiedName typeName = part.
Type
;
944
if (part.
Type
!= null && !part.
Type
.IsEmpty)
946
XmlSchemaType type = FindSchemaType(allSchemas, part.
Type
);
1466
if (!IsNullOrEmpty(part.
Type
))
1476
if (!IsNullOrEmpty(part.
Type
))
1479
return CanImportType(part.
Type
);
1489
if (!IsNullOrEmpty(part.
Type
))
1492
bodyPart.BaseType = ImportType(bodyPart, part.
Type
, isEncoded);
System.Web.Extensions (2)
Compilation\WCFModel\WsdlInspector.cs (2)
276
if (!MatchXmlQualifiedNames(partX.
Type
, partY.
Type
) || !MatchXmlQualifiedNames(partX.Element, partY.Element))
System.Web.Services (27)
System\Web\Services\Description\HttpProtocolImporter.cs (1)
110
XmlSchemaComplexType type = (XmlSchemaComplexType)Schemas.Find(part.
Type
, typeof(XmlSchemaComplexType));
System\Web\Services\Description\ServiceDescriptionImporter.cs (3)
457
if (part.
Type
!= null && !part.
Type
.IsEmpty) {
458
XmlSchemaType type = (XmlSchemaType)allSchemas.Find(part.
Type
, typeof(XmlSchemaType));
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
1720
WriteAttribute(@"type", @"", FromXmlQualifiedName(((global::System.Xml.XmlQualifiedName)o.
@Type
)));
System\Web\Services\Description\SoapProtocolImporter.cs (15)
573
if (part.
Type
.IsEmpty) throw new InvalidOperationException(Res.GetString(Res.WebDescriptionPartTypeRequired, part.Name, header.Message.Name, header.Message.Namespace));
575
mapping = soapImporter.ImportDerivedTypeMapping(part.
Type
, typeof(SoapHeader), true);
576
key = "type=" + part.
Type
.ToString();
580
if (!part.
Type
.IsEmpty) UnsupportedOperationBindingWarning(Res.GetString(Res.WebDescriptionPartTypeWarning, part.Name, header.Message.Name, header.Message.Namespace));
1032
if (parts.Length == 1 && !parts[0].
Type
.IsEmpty) {
1038
XmlMembersMapping membersMapping = xmlImporter.ImportAnyType(parts[0].
Type
, parts[0].Name);
1040
UnsupportedOperationBindingWarning(Res.GetString(Res.SpecifyingATypeForUseLiteralMessagesIsAny, parts[0].
Type
.Name, parts[0].
Type
.Namespace));
1047
if (!part.
Type
.IsEmpty) {
1068
if (part.
Type
.IsEmpty) {
1129
schemaMember.MemberType = parts[0].
Type
;
1138
schemaMember.MemberType = part.
Type
;
1155
schemaMember.MemberType = part.
Type
;
1164
if (parts.Length == 1 && !parts[0].
Type
.IsEmpty) {
1167
membersMapping = xmlImporter.ImportAnyType(parts[0].
Type
, parts[0].Name);
System\Web\Services\Description\WebServicesInteroperability.cs (7)
332
if (part.
Type
!= null && !part.
Type
.IsEmpty && part.Element != null && !part.Element.IsEmpty) {
337
XmlQualifiedName qname = part.
Type
== null || part.
Type
.IsEmpty ? part.Element : part.
Type
;
344
if (!element && (part.
Type
== null || part.
Type
.IsEmpty)) {