Show / Hide Table of Contents

Class SerializableList<T>

The implementation for a serializable list class.

Inheritance
System.Object
System.Collections.Generic.List<T>
SerializableList<T>
Implements
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
System.Xml.Serialization.IXmlSerializable
Inherited Members
System.Collections.Generic.List<T>.System.Collections.IList.get_Item(System.Int32)
System.Collections.Generic.List<T>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.Generic.List<T>.Add(T)
System.Collections.Generic.List<T>.AddRange(System.Collections.Generic.IEnumerable<T>)
System.Collections.Generic.List<T>.AsReadOnly()
System.Collections.Generic.List<T>.BinarySearch(System.Int32, System.Int32, T, System.Collections.Generic.IComparer<T>)
System.Collections.Generic.List<T>.BinarySearch(T)
System.Collections.Generic.List<T>.BinarySearch(T, System.Collections.Generic.IComparer<T>)
System.Collections.Generic.List<T>.Clear()
System.Collections.Generic.List<T>.Contains(T)
System.Collections.Generic.List<T>.ConvertAll<TOutput>(System.Converter<T, TOutput>)
System.Collections.Generic.List<T>.CopyTo(System.Int32, T[], System.Int32, System.Int32)
System.Collections.Generic.List<T>.CopyTo(T[])
System.Collections.Generic.List<T>.CopyTo(T[], System.Int32)
System.Collections.Generic.List<T>.EnsureCapacity(System.Int32)
System.Collections.Generic.List<T>.Exists(System.Predicate<T>)
System.Collections.Generic.List<T>.Find(System.Predicate<T>)
System.Collections.Generic.List<T>.FindAll(System.Predicate<T>)
System.Collections.Generic.List<T>.FindIndex(System.Int32, System.Int32, System.Predicate<T>)
System.Collections.Generic.List<T>.FindIndex(System.Int32, System.Predicate<T>)
System.Collections.Generic.List<T>.FindIndex(System.Predicate<T>)
System.Collections.Generic.List<T>.FindLast(System.Predicate<T>)
System.Collections.Generic.List<T>.FindLastIndex(System.Int32, System.Int32, System.Predicate<T>)
System.Collections.Generic.List<T>.FindLastIndex(System.Int32, System.Predicate<T>)
System.Collections.Generic.List<T>.FindLastIndex(System.Predicate<T>)
System.Collections.Generic.List<T>.ForEach(System.Action<T>)
System.Collections.Generic.List<T>.GetEnumerator()
System.Collections.Generic.List<T>.GetRange(System.Int32, System.Int32)
System.Collections.Generic.List<T>.IndexOf(T)
System.Collections.Generic.List<T>.IndexOf(T, System.Int32)
System.Collections.Generic.List<T>.IndexOf(T, System.Int32, System.Int32)
System.Collections.Generic.List<T>.Insert(System.Int32, T)
System.Collections.Generic.List<T>.InsertRange(System.Int32, System.Collections.Generic.IEnumerable<T>)
System.Collections.Generic.List<T>.LastIndexOf(T)
System.Collections.Generic.List<T>.LastIndexOf(T, System.Int32)
System.Collections.Generic.List<T>.LastIndexOf(T, System.Int32, System.Int32)
System.Collections.Generic.List<T>.Remove(T)
System.Collections.Generic.List<T>.RemoveAll(System.Predicate<T>)
System.Collections.Generic.List<T>.RemoveAt(System.Int32)
System.Collections.Generic.List<T>.RemoveRange(System.Int32, System.Int32)
System.Collections.Generic.List<T>.Reverse()
System.Collections.Generic.List<T>.Reverse(System.Int32, System.Int32)
System.Collections.Generic.List<T>.Sort()
System.Collections.Generic.List<T>.Sort(System.Collections.Generic.IComparer<T>)
System.Collections.Generic.List<T>.Sort(System.Comparison<T>)
System.Collections.Generic.List<T>.Sort(System.Int32, System.Int32, System.Collections.Generic.IComparer<T>)
System.Collections.Generic.List<T>.System.Collections.Generic.IEnumerable<T>.GetEnumerator()
System.Collections.Generic.List<T>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.List<T>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.List<T>.System.Collections.IList.Add(System.Object)
System.Collections.Generic.List<T>.System.Collections.IList.Contains(System.Object)
System.Collections.Generic.List<T>.System.Collections.IList.IndexOf(System.Object)
System.Collections.Generic.List<T>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.Generic.List<T>.System.Collections.IList.Remove(System.Object)
System.Collections.Generic.List<T>.ToArray()
System.Collections.Generic.List<T>.TrimExcess()
System.Collections.Generic.List<T>.TrueForAll(System.Predicate<T>)
System.Collections.Generic.List<T>.Capacity
System.Collections.Generic.List<T>.Count
System.Collections.Generic.List<T>.Item[System.Int32]
System.Collections.Generic.List<T>.System.Collections.Generic.ICollection<T>.IsReadOnly
System.Collections.Generic.List<T>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.List<T>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.List<T>.System.Collections.IList.IsFixedSize
System.Collections.Generic.List<T>.System.Collections.IList.IsReadOnly
System.Collections.Generic.List<T>.System.Collections.IList.Item[System.Int32]
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Settings
Assembly: Phoenix.Abstractions.Settings.dll
Syntax
[Serializable]
public class SerializableList<T> : List<T>, IList<T>, ICollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable, IXmlSerializable
Type Parameters
Name Description
T

The type of the values in the list

Remarks

This exists to support clearing itself before reading in the values from a deserialization.

Methods

View Source

GetSchema()

Returns the xml schema.

Declaration
public XmlSchema GetSchema()
Returns
Type Description
System.Xml.Schema.XmlSchema

null to represent no schema

Remarks

Not used. See remarks on IXmlSerializable.GetSchema.

View Source

ReadXml(XmlReader)

Generates an object from its XML representation.

Declaration
public void ReadXml(XmlReader reader)
Parameters
Type Name Description
System.Xml.XmlReader reader

The System.Xml.XmlReader stream from which the object is deserialized.

View Source

WriteXml(XmlWriter)

Converts an object into its XML representation.

Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type Name Description
System.Xml.XmlWriter writer

The System.Xml.XmlWriter stream to which the object is serialized.

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
System.Xml.Serialization.IXmlSerializable

Extension Methods

IListExtensions.FirstIndexOf<T>(IList<T>, Func<T, Boolean>)
IListExtensions.FirstIndexOf<T>(IList<T>, T, IEqualityComparer<T>)
  • View Source
In This Article
Back to top Generated by DocFX