8 types derived from XmlSchemaFacet
System.Xml (8)
System\Xml\Schema\XmlSchemaFacet.cs (8)
64
public abstract class XmlSchemaNumericFacet :
XmlSchemaFacet
{ }
88
public class XmlSchemaPatternFacet :
XmlSchemaFacet
{
95
public class XmlSchemaEnumerationFacet :
XmlSchemaFacet
{
102
public class XmlSchemaMinExclusiveFacet :
XmlSchemaFacet
{
109
public class XmlSchemaMinInclusiveFacet :
XmlSchemaFacet
{
116
public class XmlSchemaMaxExclusiveFacet :
XmlSchemaFacet
{
123
public class XmlSchemaMaxInclusiveFacet :
XmlSchemaFacet
{
144
public class XmlSchemaWhiteSpaceFacet :
XmlSchemaFacet
{
48 references to XmlSchemaFacet
System.Data (1)
fx\src\data\System\Data\SimpleType.cs (1)
127
foreach(
XmlSchemaFacet
facet in content.Facets) {
System.Runtime.Serialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
548
foreach (
XmlSchemaFacet
facet in restriction.Facets)
1211
foreach (
XmlSchemaFacet
facet in restriction.Facets)
System.Web.Extensions (2)
Script\Services\WebServiceTypeData.cs (2)
167
foreach (
XmlSchemaFacet
facet in restriction.Facets) {
298
foreach (
XmlSchemaFacet
facet in restriction.Facets) {
System.Xml (43)
System\Xml\Schema\FacetChecker.cs (18)
56
internal void CompileLengthFacet(
XmlSchemaFacet
facet) {
86
internal void CompileMinLengthFacet(
XmlSchemaFacet
facet) {
109
internal void CompileMaxLengthFacet(
XmlSchemaFacet
facet) {
148
internal void CompileEnumerationFacet(
XmlSchemaFacet
facet, IXmlNamespaceResolver nsmgr, XmlNameTable nameTable) {
157
internal void CompileWhitespaceFacet(
XmlSchemaFacet
facet) {
198
internal void CompileMaxInclusiveFacet(
XmlSchemaFacet
facet) {
212
internal void CompileMaxExclusiveFacet(
XmlSchemaFacet
facet) {
226
internal void CompileMinInclusiveFacet(
XmlSchemaFacet
facet) {
240
internal void CompileMinExclusiveFacet(
XmlSchemaFacet
facet) {
254
internal void CompileTotalDigitsFacet(
XmlSchemaFacet
facet) {
273
internal void CompileFractionDigitsFacet(
XmlSchemaFacet
facet) {
312
private void CheckValue(object value,
XmlSchemaFacet
facet) {
549
private object ParseFacetValue(XmlSchemaDatatype datatype,
XmlSchemaFacet
facet, string code, IXmlNamespaceResolver nsmgr, XmlNameTable nameTable) {
615
private void CheckProhibitedFlag(
XmlSchemaFacet
facet, RestrictionFlags flag, string errorCode) {
621
private void CheckDupFlag(
XmlSchemaFacet
facet, RestrictionFlags flag, string errorCode) {
627
private void SetFlag(
XmlSchemaFacet
facet, RestrictionFlags flag) {
741
XmlSchemaFacet
facet = (
XmlSchemaFacet
)facets[i];
System\Xml\Schema\XsdBuilder.cs (2)
667
private
XmlSchemaFacet
facet;
1042
this.facet = (
XmlSchemaFacet
)container;
System\Xml\Serialization\SchemaObjectWriter.cs (17)
33
XmlSchemaFacet
f1 = (
XmlSchemaFacet
)o1;
34
XmlSchemaFacet
f2 = (
XmlSchemaFacet
)o2;
550
Write_XmlSchemaFacet("minExclusive", (
XmlSchemaFacet
)ai);
553
Write_XmlSchemaFacet("maxInclusive", (
XmlSchemaFacet
)ai);
556
Write_XmlSchemaFacet("maxExclusive", (
XmlSchemaFacet
)ai);
559
Write_XmlSchemaFacet("minInclusive", (
XmlSchemaFacet
)ai);
562
Write_XmlSchemaFacet("length", (
XmlSchemaFacet
)ai);
565
Write_XmlSchemaFacet("enumeration", (
XmlSchemaFacet
)ai);
568
Write_XmlSchemaFacet("minLength", (
XmlSchemaFacet
)ai);
571
Write_XmlSchemaFacet("pattern", (
XmlSchemaFacet
)ai);
574
Write_XmlSchemaFacet("totalDigits", (
XmlSchemaFacet
)ai);
577
Write_XmlSchemaFacet("maxLength", (
XmlSchemaFacet
)ai);
580
Write_XmlSchemaFacet("whiteSpace", (
XmlSchemaFacet
)ai);
583
Write_XmlSchemaFacet("fractionDigit", (
XmlSchemaFacet
)ai);
588
void Write_XmlSchemaFacet(string name,
XmlSchemaFacet
o) {
System\Xml\Serialization\Types.cs (6)
486
AddNonXsdPrimitive(typeof(Guid), "guid", UrtTypes.Namespace, "Guid", new XmlQualifiedName("string", XmlSchema.Namespace), new
XmlSchemaFacet
[] { guidPattern }, TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired | TypeFlags.IgnoreDefault);
487
AddNonXsdPrimitive(typeof(char), "char", UrtTypes.Namespace, "Char", new XmlQualifiedName("unsignedShort", XmlSchema.Namespace), new
XmlSchemaFacet
[0], TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.IgnoreDefault);
490
AddNonXsdPrimitive(typeof(TimeSpan), "TimeSpan", UrtTypes.Namespace, "TimeSpan", new XmlQualifiedName("duration", XmlSchema.Namespace), new
XmlSchemaFacet
[0], TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.XmlEncodingNotRequired);
590
static void AddNonXsdPrimitive(Type type, string dataTypeName, string ns, string formatterName, XmlQualifiedName baseTypeName,
XmlSchemaFacet
[] facets, TypeFlags flags) {
595
foreach (
XmlSchemaFacet
facet in facets) {
607
AddNonXsdPrimitive(type, dataTypeName, ns, formatterName, baseTypeName, new
XmlSchemaFacet
[0], flags);