using System;
using System.Collections;
namespace System.Xml
{
///
/// Abstract class XmlNodeList.
///
public abstract class XmlNodeList : IEnumerable
{
// public properties
public abstract int Count { get; }
[System.Runtime.CompilerServices.IndexerName("ItemOf")]
public virtual XmlNode this[int i]
{
get
{
throw new NotImplementedException("XmlNodeList indexer must be implemented by derived class.");
}
}
// Public Methods
///
/// Abstract. Return the enumerator for the class.
///
/// Enumerator
public abstract IEnumerator GetEnumerator();
///
/// Abstract. Returns the item at index. Index is 0-based.
///
///
///
public abstract XmlNode Item(int index);
public XmlNodeList()
{
// TODO: What should be done in constructor for XmlNodeList.XmlNodeList()? (nothing)
}
}
}