mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* Soap & XmlOverrides: Implemented using TypeMember as key with suggestions from Rafael. svn path=/trunk/mcs/; revision=5356
50 lines
939 B
C#
50 lines
939 B
C#
//
|
|
// XmlAttributeEventArgs.cs:
|
|
//
|
|
// Author:
|
|
// John Donagher ([email protected])
|
|
//
|
|
// (C) 2002 John Donagher
|
|
//
|
|
|
|
using System.Xml;
|
|
using System;
|
|
|
|
namespace System.Xml.Serialization
|
|
{
|
|
/// <summary>
|
|
/// Summary description for XmlAttributeEventArgs.
|
|
/// </summary>
|
|
public class XmlAttributeEventArgs : EventArgs
|
|
{
|
|
private XmlAttribute attr;
|
|
private int lineNumber;
|
|
private int linePosition;
|
|
private object obj;
|
|
|
|
internal XmlAttributeEventArgs(XmlAttribute attr, int lineNum, int linePos, object source)
|
|
{
|
|
this.attr = attr;
|
|
this.lineNumber = lineNum;
|
|
this.linePosition = linePos;
|
|
this.obj = source;
|
|
}
|
|
|
|
public XmlAttribute Attr {
|
|
get { return attr; }
|
|
}
|
|
|
|
public int LineNumber {
|
|
get { return lineNumber; }
|
|
}
|
|
|
|
public int LinePosition {
|
|
get { return linePosition; }
|
|
}
|
|
|
|
public object ObjectBeingDeserialized {
|
|
get{ return obj; }
|
|
}
|
|
}
|
|
}
|