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

ValidationEventArgs.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: df846514e1e5a4883521d758d1cc92c68c34952d (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
38
// Author: Dwivedi, Ajay kumar
//            Adwiv@Yahoo.com
using System;

namespace System.Xml.Schema
{
	/// <summary>
	/// Summary description for ValidationEventArgs.
	/// </summary>
	public sealed class ValidationEventArgs : EventArgs
	{
		private XmlSchemaException exception;
		private string message;
		private XmlSeverityType severity;

		private ValidationEventArgs()
		{}

		internal ValidationEventArgs(XmlSchemaException ex, string message, XmlSeverityType severity)
		{
			this.exception = ex;
			this.message = message;
			this.severity = severity;
		}
		public XmlSchemaException Exception 
		{
			get{ return exception; }
		}
		public string Message 
		{
			get{ return message; }
		}
		public XmlSeverityType Severity 
		{
			get{ return severity; }
		}
	}
}