70 references to MetadataType
System.Web.Extensions (70)
Compilation\WCFModel\MetadataFile.cs (34)
46
private
MetadataType
m_MetadataType;
171
public
MetadataType
FileType
426
private
MetadataType
DetermineFileType(XmlReader reader)
432
return
MetadataType
.Wsdl;
436
return
MetadataType
.Schema;
441
return
MetadataType
.Policy;
445
return
MetadataType
.Disco;
449
return
MetadataType
.Edmx;
453
return
MetadataType
.Xml;
459
return
MetadataType
.Unknown;
472
case
MetadataType
.Disco:
474
case
MetadataType
.Wsdl:
476
case
MetadataType
.Schema:
478
case
MetadataType
.Xml:
480
case
MetadataType
.Policy:
482
case
MetadataType
.Edmx:
570
if (m_MetadataType ==
MetadataType
.Unknown)
573
MetadataType
fileType = DetermineFileType(xmlReader);
603
private MetadataContent LoadMetadataContent(
MetadataType
fileType)
620
private MetadataContent LoadMetadataContent(
MetadataType
fileType, XmlTextReader xmlReader)
628
case
MetadataType
.Disco:
631
case
MetadataType
.Wsdl:
635
case
MetadataType
.Schema:
639
case
MetadataType
.Unknown:
643
Debug.Assert(fileType ==
MetadataType
.Xml || fileType ==
MetadataType
.Policy || fileType ==
MetadataType
.Edmx);
675
case
MetadataType
.Unknown:
677
case
MetadataType
.Disco:
683
case
MetadataType
.Wsdl:
692
case
MetadataType
.Schema:
698
case MetadataFile.
MetadataType
.Policy:
704
case MetadataFile.
MetadataType
.Xml:
705
case MetadataFile.
MetadataType
.Edmx:
Compilation\XmlSerializer\DataSvcMapFileSerializer.cs (18)
140
WriteAttribute(@"MetadataType", @"", Write4_MetadataType(((global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
)o.@FileType)));
161
string Write4_MetadataType(global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
v) {
164
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Unknown: s = @"Unknown"; break;
165
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Disco: s = @"Disco"; break;
166
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Wsdl: s = @"Wsdl"; break;
167
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Schema: s = @"Schema"; break;
168
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Policy: s = @"Policy"; break;
169
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Xml: s = @"Xml"; break;
170
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Edmx: s = @"Edmx"; break;
588
global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
Read4_MetadataType(string s) {
590
case @"Unknown": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Unknown;
591
case @"Disco": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Disco;
592
case @"Wsdl": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Wsdl;
593
case @"Schema": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Schema;
594
case @"Policy": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Policy;
595
case @"Xml": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Xml;
596
case @"Edmx": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Edmx;
597
default: throw CreateUnknownConstantException(s, typeof(global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
));
Compilation\XmlSerializer\SvcMapFileSerializer.cs (18)
111
WriteAttribute(@"MetadataType", @"", Write12_MetadataType(((global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
)o.@FileType)));
132
string Write12_MetadataType(global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
v) {
135
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Unknown: s = @"Unknown"; break;
136
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Disco: s = @"Disco"; break;
137
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Wsdl: s = @"Wsdl"; break;
138
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Schema: s = @"Schema"; break;
139
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Policy: s = @"Policy"; break;
140
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Xml: s = @"Xml"; break;
141
case global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Edmx: s = @"Edmx"; break;
695
global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
Read12_MetadataType(string s) {
697
case @"Unknown": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Unknown;
698
case @"Disco": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Disco;
699
case @"Wsdl": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Wsdl;
700
case @"Schema": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Schema;
701
case @"Policy": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Policy;
702
case @"Xml": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Xml;
703
case @"Edmx": return global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
.@Edmx;
704
default: throw CreateUnknownConstantException(s, typeof(global::System.Web.Compilation.WCFModel.MetadataFile.
MetadataType
));