---
title: "Class DisposableList&lt;T&gt; | Customer&#x27;s Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Common/DisposableList_T_/"
archived: false
applies_to:
  - product: "Customer's Canvas On-Premises"
    entity_id: "https://customerscanvas.com/glossary/customers-canvas-on-premises#software-application"
  - product: "Design Atoms .NET"
    versions: ["7.4"]
    entity_id: "https://customerscanvas.com/glossary/design-atoms-net#software-application"
---

# Class DisposableList<T>

**Applies to:** Customer's Canvas On-Premises; Design Atoms .NET 7.4

> Class DisposableList in the Aurigma.DesignAtoms.Common namespace.

# Class DisposableList&lt;T&gt;

**Namespace**: [Aurigma.DesignAtoms.Common](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Common.md)

**Assembly**: Aurigma.DesignAtoms.dll

```csharp title="Syntax"
public class DisposableList<T> : List<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, IDisposable where T : IDisposable
```

**Inheritance:** `System.Object` -> `System.Collections.Generic.List<<T>>` -> DisposableList&lt;T&gt;

## Implements

* `System.Collections.Generic.IList<<T>>`
* `System.Collections.Generic.ICollection<<T>>`
* `System.Collections.IList`
* `System.Collections.ICollection`
* `System.Collections.Generic.IReadOnlyList<<T>>`
* `System.Collections.Generic.IReadOnlyCollection<<T>>`
* `System.Collections.Generic.IEnumerable<<T>>`
* `System.Collections.IEnumerable`
* `System.IDisposable`

## 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>>.System#Collections#IList#Add(System.Object)`
* `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>>.System#Collections#IList#Contains(System.Object)`
* `System.Collections.Generic.List<<T>>.ConvertAll``1(System.Converter<<T>,<TOutput>>)`
* `System.Collections.Generic.List<<T>>.CopyTo(<T>[])`
* `System.Collections.Generic.List<<T>>.System#Collections#ICollection#CopyTo(System.Array,System.Int32)`
* `System.Collections.Generic.List<<T>>.CopyTo(System.Int32,<T>[],System.Int32,System.Int32)`
* `System.Collections.Generic.List<<T>>.CopyTo(<T>[],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.Predicate<<T>>)`
* `System.Collections.Generic.List<<T>>.FindIndex(System.Int32,System.Predicate<<T>>)`
* `System.Collections.Generic.List<<T>>.FindIndex(System.Int32,System.Int32,System.Predicate<<T>>)`
* `System.Collections.Generic.List<<T>>.FindLast(System.Predicate<<T>>)`
* `System.Collections.Generic.List<<T>>.FindLastIndex(System.Predicate<<T>>)`
* `System.Collections.Generic.List<<T>>.FindLastIndex(System.Int32,System.Predicate<<T>>)`
* `System.Collections.Generic.List<<T>>.FindLastIndex(System.Int32,System.Int32,System.Predicate<<T>>)`
* `System.Collections.Generic.List<<T>>.ForEach(System.Action<<T>>)`
* `System.Collections.Generic.List<<T>>.GetEnumerator`
* `System.Collections.Generic.List<<T>>.System#Collections#Generic#IEnumerable<T>#GetEnumerator`
* `System.Collections.Generic.List<<T>>.System#Collections#IEnumerable#GetEnumerator`
* `System.Collections.Generic.List<<T>>.GetRange(System.Int32,System.Int32)`
* `System.Collections.Generic.List<<T>>.IndexOf(<T>)`
* `System.Collections.Generic.List<<T>>.System#Collections#IList#IndexOf(System.Object)`
* `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>>.System#Collections#IList#Insert(System.Int32,System.Object)`
* `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>>.System#Collections#IList#Remove(System.Object)`
* `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.Int32,System.Int32,System.Collections.Generic.IComparer<<T>>)`
* `System.Collections.Generic.List<<T>>.Sort(System.Comparison<<T>>)`
* `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>>.System#Collections#IList#IsFixedSize`
* `System.Collections.Generic.List<<T>>.System#Collections#Generic#ICollection<T>#IsReadOnly`
* `System.Collections.Generic.List<<T>>.System#Collections#IList#IsReadOnly`
* `System.Collections.Generic.List<<T>>.System#Collections#ICollection#IsSynchronized`
* `System.Collections.Generic.List<<T>>.System#Collections#ICollection#SyncRoot`
* `System.Collections.Generic.List<<T>>.Item(System.Int32)`
* `System.Collections.Generic.List<<T>>.System#Collections#IList#Item(System.Int32)`
* `System.Object.ToString`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Constructors

### DisposableList

```csharp
public DisposableList()
```

### DisposableList

```csharp
public DisposableList(IEnumerable<T> items)
```

## Methods

### Dispose

```csharp
public void Dispose()
```

#### Type Parameters

| Name | Description |
|:---|:---|
| `T` |  |
