Welcome to mirror list, hosted at ThFree Co, Russian Federation.

XmlSchemaFacet.cs « System.Xml.Schema « System.XML « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 076bc74486d7430826b6a4881e653f697f751fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Author: Dwivedi, Ajay kumar
//            Adwiv@Yahoo.com
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()
		{
		}
		
		[System.Xml.Serialization.XmlAttribute("value")]
		public string Value
		{
			get{ return  val; } 
			set{ val = value; }
		}

		[DefaultValue(false)]
		[System.Xml.Serialization.XmlAttribute("fixed")]
		public virtual bool IsFixed 
		{
			get{ return  isFixed; }
			set{ isFixed = value; }
		}
	}
}