| 123456789101112131415161718192021222324252627282930313233343536 |
- // Author: Dwivedi, Ajay kumar
- // [email protected]
- using System;
- using System.Xml;
- using System.Xml.Serialization;
- using System.ComponentModel;
- namespace System.Xml.Schema
- {
- /// <summary>
- /// Summary description for XmlSchemaFacet.
- /// </summary>
- public abstract class XmlSchemaFacet : XmlSchemaAnnotated
- {
- private bool isFixed;
- private string val;
- protected XmlSchemaFacet()
- {
- val = string.Empty;
- }
- [DefaultValue(false)]
- [System.Xml.Serialization.XmlAttribute("fixed")]
- public virtual bool IsFixed
- {
- get{ return isFixed; }
- set{ isFixed = value; }
- }
- [System.Xml.Serialization.XmlAttribute("value")]
- public string Value
- {
- get{ return val; }
- set{ val = value; }
- }
- }
- }
|