mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
* XmlCustomFormatter.cs: Added formatting methods. * XmlReflectionImporter.cs, XmlSerializer.cs: New implementation. * XmlReflectionMember.cs: Added new constructor. * XmlSerializationReader.cs, XmlSerializationWriter.cs: Implemented some methods. * XmlSerializationWriterInterpreter.cs, XmlSerializationReaderInterpreter.cs XmlTypeMapElementInfo.cs, XmlTypeMapMember.cs, XmlTypeMapMemberAttribute.cs XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added svn path=/trunk/mcs/; revision=14884
54 lines
952 B
C#
54 lines
952 B
C#
//
|
|
// XmlElementEventArgs.cs:
|
|
//
|
|
// Author:
|
|
// John Donagher ([email protected])
|
|
//
|
|
// (C) 2002 John Donagher
|
|
//
|
|
|
|
using System.Xml;
|
|
using System;
|
|
|
|
namespace System.Xml.Serialization
|
|
{
|
|
/// <summary>
|
|
/// Summary description for XmlElementEventArgs.
|
|
/// </summary>
|
|
public class XmlElementEventArgs : EventArgs
|
|
{
|
|
private XmlElement attr;
|
|
private int lineNumber;
|
|
private int linePosition;
|
|
private object obj;
|
|
|
|
internal XmlElementEventArgs(XmlElement attr, int lineNum, int linePos, object source)
|
|
{
|
|
this.attr = attr;
|
|
this.lineNumber = lineNum;
|
|
this.linePosition = linePos;
|
|
this.obj = source;
|
|
}
|
|
|
|
public XmlElement Element
|
|
{
|
|
get { return attr; }
|
|
}
|
|
|
|
public int LineNumber
|
|
{
|
|
get { return lineNumber; }
|
|
}
|
|
|
|
public int LinePosition
|
|
{
|
|
get { return linePosition; }
|
|
}
|
|
|
|
public object ObjectBeingDeserialized
|
|
{
|
|
get{ return obj; }
|
|
}
|
|
}
|
|
}
|