mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* ValidationHandler.cs: New file. * XmlSchemaInfo.cs: New file. * *.cs: More updates from Ajay. svn path=/trunk/mcs/; revision=4075
39 lines
815 B
C#
Executable File
39 lines
815 B
C#
Executable File
// Author: Dwivedi, Ajay kumar
|
|
// [email protected]
|
|
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; }
|
|
}
|
|
}
|
|
}
|