mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* Soap & XmlOverrides: Implemented using TypeMember as key with suggestions from Rafael. svn path=/trunk/mcs/; revision=5356
62 lines
1.1 KiB
C#
62 lines
1.1 KiB
C#
//
|
|
// XmlArrayItemAttributes.cs:
|
|
//
|
|
// Author:
|
|
// John Donagher ([email protected])
|
|
//
|
|
// (C) 2002 John Donagher
|
|
//
|
|
|
|
using System.Xml.Serialization;
|
|
using System.Collections;
|
|
using System;
|
|
|
|
namespace System.Xml.Serialization
|
|
{
|
|
/// <summary>
|
|
/// Summary description for XmlArrayItemAttributes.
|
|
/// </summary>
|
|
public class XmlArrayItemAttributes : CollectionBase
|
|
{
|
|
|
|
public XmlArrayItemAttribute this [int index] {
|
|
get {
|
|
return (XmlArrayItemAttribute)List [index];
|
|
}
|
|
set {
|
|
List [index] = value;
|
|
}
|
|
}
|
|
|
|
public int Add (XmlArrayItemAttribute attribute)
|
|
{
|
|
return List.Add(attribute);
|
|
}
|
|
|
|
public bool Contains(XmlArrayItemAttribute attribute)
|
|
{
|
|
return List.Contains(attribute);
|
|
}
|
|
|
|
public void CopyTo(XmlArrayItemAttribute[] array, int index)
|
|
{
|
|
List.CopyTo(array, index);
|
|
}
|
|
|
|
public int IndexOf(XmlArrayItemAttribute attribute)
|
|
{
|
|
return List.IndexOf(attribute);
|
|
}
|
|
|
|
public void Insert(int index, XmlArrayItemAttribute attribute)
|
|
{
|
|
List.Insert(index, attribute);
|
|
}
|
|
|
|
public void Remove(XmlArrayItemAttribute attribute)
|
|
{
|
|
List.Remove(attribute);
|
|
}
|
|
}
|
|
}
|