mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
* System.Xml/XmlDocument.cs: * System.Xml/XmlTextWriter.cs: * System.Xml/XmlValidatingReader.cs: * System.Xml.Schema/XmlSchemaCollection.cs: * System.Xml.Schema/XmlSchemaException.cs: * System.Xml.Schema/XmlSchemaObjectCollection.cs: * System.Xml.Serialization/SoapTypeAttribute.cs: * System.Xml.Serialization/XmlAttributes.cs: * System.Xml.Serialization/XmlMapping.cs: * System.Xml.Serialization/XmlReflectionImporter.cs: * System.Xml.Serialization/XmlSerializer.cs: * System.Xml.Serialization/XmlTextAttribute.cs: * System.Xml.Xsl/XslTransform.cs: misc. fixed and implementation. * System.Xml.Serialization/SchemaTypes.cs: New file. * System.Xml.Serialization/TypeData.cs: New file. * System.Xml.Serialization/TypeTranslator.cs: New file. svn path=/trunk/mcs/; revision=7574
62 lines
1.0 KiB
C#
62 lines
1.0 KiB
C#
//
|
|
// XmlTextAttribute.cs:
|
|
//
|
|
// Author:
|
|
// John Donagher ([email protected])
|
|
//
|
|
// (C) 2002 John Donagher
|
|
//
|
|
|
|
using System;
|
|
|
|
namespace System.Xml.Serialization
|
|
{
|
|
/// <summary>
|
|
/// Summary description for XmlTextAttribute.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field
|
|
| AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
|
|
public class XmlTextAttribute : Attribute
|
|
{
|
|
private string dataType;
|
|
private Type type;
|
|
private int order;
|
|
|
|
public XmlTextAttribute ()
|
|
{
|
|
}
|
|
|
|
public XmlTextAttribute (Type type)
|
|
{
|
|
Type = type;
|
|
}
|
|
|
|
public string DataType {
|
|
get {
|
|
return dataType;
|
|
}
|
|
set {
|
|
dataType = value;
|
|
}
|
|
}
|
|
public Type Type
|
|
{
|
|
get {
|
|
return type;
|
|
}
|
|
set {
|
|
type = value;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Specifies Order in which Memberswill be serialized as Elements.
|
|
/// </summary>
|
|
internal int Order
|
|
{
|
|
get{ return order; }
|
|
set{ order = value; }
|
|
}
|
|
|
|
}
|
|
}
|