2 overrides of Content
System.Xml (2)
System\Xml\Schema\XmlSchemaComplexContent.cs (1)
37
public override XmlSchemaContent
Content
{
System\Xml\Schema\XmlSchemaSimpleContent.cs (1)
25
public override XmlSchemaContent
Content
{
1 write to Content
System.Runtime.Serialization (1)
System\Runtime\Serialization\SchemaExporter.cs (1)
493
type.ContentModel.
Content
= extension;
37 references to Content
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (1)
211
InvokeHandler(model.
Content
, context);
System.Web.Services (5)
System\Web\Services\Description\HttpProtocolImporter.cs (5)
113
if (type.ContentModel.
Content
== null) throw new ArgumentException(Res.GetString(Res.Missing2, type.Name, type.ContentModel.GetType().Name), "part");
114
if (type.ContentModel.
Content
is XmlSchemaComplexContentExtension) {
115
return ((XmlSchemaComplexContentExtension)type.ContentModel.
Content
).BaseTypeName == new XmlQualifiedName(Soap.ArrayType, Soap.Encoding);
117
else if (type.ContentModel.
Content
is XmlSchemaComplexContentRestriction) {
118
return ((XmlSchemaComplexContentRestriction)type.ContentModel.
Content
).BaseTypeName == new XmlQualifiedName(Soap.ArrayType, Soap.Encoding);
System.Xml (31)
System\Xml\Schema\XmlSchemaComplexType.cs (8)
320
if (contentModel.
Content
is XmlSchemaComplexContentRestriction)
321
return ((XmlSchemaComplexContentRestriction)contentModel.
Content
).BaseTypeName;
322
else if (contentModel.
Content
is XmlSchemaComplexContentExtension)
323
return ((XmlSchemaComplexContentExtension)contentModel.
Content
).BaseTypeName;
324
else if (contentModel.
Content
is XmlSchemaSimpleContentRestriction)
325
return ((XmlSchemaSimpleContentRestriction)contentModel.
Content
).BaseTypeName;
326
else if (contentModel.
Content
is XmlSchemaSimpleContentExtension)
327
return ((XmlSchemaSimpleContentExtension)contentModel.
Content
).BaseTypeName;
System\Xml\Serialization\ImportContext.cs (1)
297
XmlSchemaContent content = ct.ContentModel.
Content
;
System\Xml\Serialization\SoapSchemaExporter.cs (5)
331
if (type.ContentModel.
Content
is XmlSchemaComplexContentExtension)
332
((XmlSchemaComplexContentExtension)type.ContentModel.
Content
).Particle = seq;
333
else if (type.ContentModel.
Content
is XmlSchemaComplexContentRestriction)
334
((XmlSchemaComplexContentRestriction)type.ContentModel.
Content
).Particle = seq;
336
throw new InvalidOperationException(Res.GetString(Res.XmlInvalidContent, type.ContentModel.
Content
.GetType().Name));
System\Xml\Serialization\SoapSchemaImporter.cs (2)
422
if (!(model.
Content
is XmlSchemaComplexContentRestriction)) return null;
426
XmlSchemaComplexContentRestriction restriction = (XmlSchemaComplexContentRestriction)model.
Content
;
System\Xml\Serialization\XmlSchemaExporter.cs (14)
611
if (type.ContentModel.
Content
is XmlSchemaComplexContentRestriction)
612
attributes = ((XmlSchemaComplexContentRestriction)type.ContentModel.
Content
).Attributes;
613
else if (type.ContentModel.
Content
is XmlSchemaComplexContentExtension)
614
attributes = ((XmlSchemaComplexContentExtension)type.ContentModel.
Content
).Attributes;
615
else if (type.ContentModel.
Content
is XmlSchemaSimpleContentExtension)
616
attributes = ((XmlSchemaSimpleContentExtension)type.ContentModel.
Content
).Attributes;
618
throw new InvalidOperationException(Res.GetString(Res.XmlInvalidContent, type.ContentModel.
Content
.GetType().Name));
640
XmlSchemaContent content = type.ContentModel.
Content
;
649
else if (type.ContentModel.
Content
is XmlSchemaSimpleContentExtension) {
947
if (type.ContentModel.
Content
is XmlSchemaComplexContentRestriction)
948
((XmlSchemaComplexContentRestriction)type.ContentModel.
Content
).Particle = seq;
949
else if (type.ContentModel.
Content
is XmlSchemaComplexContentExtension)
950
((XmlSchemaComplexContentExtension)type.ContentModel.
Content
).Particle = seq;
952
throw new InvalidOperationException(Res.GetString(Res.XmlInvalidContent, type.ContentModel.
Content
.GetType().Name));
System\Xml\Serialization\XmlSchemaImporter.cs (1)
715
XmlSchemaContent content = ct.ContentModel.
Content
;