8 writes to Element
System.ServiceModel (3)
System\ServiceModel\Description\MessageContractExporter.cs (1)
296
part.
Element
= elementName;
System\ServiceModel\Security\WSTrustServiceContract.cs (2)
2192
inputMessage.Parts[0].
Element
= inputMessageElement;
2193
outputMessage.Parts[0].
Element
= outputMessageElement;
System.Web.Services (5)
System\Web\Services\Description\MimeXmlReflector.cs (1)
43
part.
Element
= new XmlQualifiedName(xmlTypeMapping.XsdElementName, xmlTypeMapping.Namespace);
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
6694
o.
@Element
= ToXmlQualifiedName(Reader.Value);
System\Web\Services\Description\SoapProtocolReflector.cs (3)
122
part.
Element
= new XmlQualifiedName(member.XsdElementName, member.Namespace);
188
part.
Element
= new XmlQualifiedName(members.XsdElementName, members.Namespace);
205
part.
Element
= new XmlQualifiedName(member.XsdElementName, member.Namespace);
47 references to Element
System.ServiceModel (22)
System\ServiceModel\Description\MessageContractImporter.cs (22)
634
detailElementQname = faultMessageDetail.
Element
;
665
XmlSchemaComplexType complexType = GetElementComplexType(part.
Element
, allSchemas, out ns, out elementFormDefault);
679
if (IsNullOrEmpty(part.
Element
))
682
typeName = GetTypeName(FindSchemaElement(allSchemas, part.
Element
));
693
XmlSchemaSequence rootSequence = GetRootSequence(GetElementComplexType(part.
Element
, allSchemas, out ns, out elementFormDefault));
697
description.Body.WrapperName = new XmlName(part.
Element
.Name, true /*isEncoded*/).EncodedName;
698
description.Body.WrapperNamespace = part.
Element
.Namespace;
714
if (IsNullOrEmpty(part.
Element
))
716
ns = part.
Element
.Namespace;
717
typeName = GetTypeName(FindSchemaElement(allSchemas, part.
Element
));
724
return (IsWrapperPart(wsdlPart)) ? CurrentSchemaImporter.CanImportWrapperElement(wsdlPart.
Element
) : false;
733
XmlQualifiedName elementName = wsdlPart.
Element
;
767
return wsdlPart.Name == "parameters" && !IsNullOrEmpty(wsdlPart.
Element
) && !wrapFlag;
928
if (part.
Element
!= null && !part.
Element
.IsEmpty)
930
XmlSchemaElement element = FindSchemaElement(allSchemas, part.
Element
);
1464
if (!IsNullOrEmpty(part.
Element
))
1465
return part.
Element
;
1474
if (!IsNullOrEmpty(part.
Element
))
1475
return CanImportElement(FindSchemaElement(this.schemaSet, part.
Element
));
1487
if (!IsNullOrEmpty(part.
Element
))
1488
return ImportParameterElement(part.
Element
, isHeader, false/*isMultiple*/);
System.Web.Extensions (2)
Compilation\WCFModel\WsdlInspector.cs (2)
276
if (!MatchXmlQualifiedNames(partX.Type, partY.Type) || !MatchXmlQualifiedNames(partX.
Element
, partY.
Element
))
System.Web.Services (23)
System\Web\Services\Description\MimeXmlImporter.cs (1)
63
importedReturn.TypeMapping = Importer.ImportTypeMapping(part.
Element
);
System\Web\Services\Description\ServiceDescriptionImporter.cs (3)
444
if (part.
Element
!= null && !part.
Element
.IsEmpty) {
446
XmlSchemaElement element = (XmlSchemaElement)allSchemas.Find(part.
Element
, typeof(XmlSchemaElement));
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
1719
WriteAttribute(@"element", @"", FromXmlQualifiedName(((global::System.Xml.XmlQualifiedName)o.
@Element
)));
System\Web\Services\Description\SoapProtocolImporter.cs (10)
574
if (!part.
Element
.IsEmpty) UnsupportedOperationBindingWarning(Res.GetString(Res.WebDescriptionPartElementWarning, part.Name, header.Message.Name, header.Message.Namespace));
579
if (part.
Element
.IsEmpty) throw new InvalidOperationException(Res.GetString(Res.WebDescriptionPartElementRequired, part.Name, header.Message.Name, header.Message.Namespace));
581
mapping = xmlImporter.ImportDerivedTypeMapping(part.
Element
, typeof(SoapHeader), true);
582
key = "element=" + part.
Element
.ToString();
1025
if (!part.
Element
.IsEmpty) {
1034
if (!parts[0].
Element
.IsEmpty) {
1051
if (part.
Element
.IsEmpty) {
1064
if (!part.
Element
.IsEmpty) {
1161
membersMapping = xmlImporter.ImportMembersMapping(parts[0].
Element
);
1173
names[i] = parts[i].
Element
;
System\Web\Services\Description\WebServicesInteroperability.cs (8)
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;
349
if (element && (part.
Element
== null || part.
Element
.IsEmpty)) {
358
else if (part.
Element
!= null) {
359
AddSignature(wireSignatures, part.
Element
.Name, part.
Element
.Namespace, message, ns, violations);