Click or drag to resize

IDisposableCollectionT Interface

Defines methods to add or removes items from a sequence of disposable objects.

Namespace:  Gile.AutoCAD.R20.Extension
Assembly:  Gile.AutoCAD.R20.Extension (in Gile.AutoCAD.R20.Extension.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public interface IDisposableCollection<T> : ICollection<T>, 
	IEnumerable<T>, IEnumerable, IDisposable
where T : IDisposable

Type Parameters

T
Type of the items.

The IDisposableCollectionT type exposes the following members.

Properties
  NameDescription
Public propertyCount (Inherited from ICollectionT.)
Public propertyIsReadOnly (Inherited from ICollectionT.)
Top
Methods
  NameDescription
Public methodAdd (Inherited from ICollectionT.)
Public methodAddRange
Adds items to the sequence.
Public methodClear (Inherited from ICollectionT.)
Public methodContains (Inherited from ICollectionT.)
Public methodCopyTo (Inherited from ICollectionT.)
Public methodDispose (Inherited from IDisposable.)
Public methodGetEnumerator (Inherited from IEnumerableT.)
Public methodRemove (Inherited from ICollectionT.)
Public methodRemoveRange
Removes items from the sequence.
Top
Extension Methods
  NameDescription
Public Extension MethodDisposeAllT
Disposes of all items of the sequence.
(Defined by IEnumerableExtension.)
Public Extension MethodForEachT(ActionT)Overloaded.
Runs the action for each item of the collection.
(Defined by IEnumerableExtension.)
Public Extension MethodForEachT(ActionT, Int32)Overloaded.
Runs the indexed action for each item of the collection.
(Defined by IEnumerableExtension.)
Public Extension MethodMaxByT, TKey
Gets the greatest item of the sequence using comparer with the selector function returned values.
(Defined by IEnumerableExtension.)
Public Extension MethodMinByT, TKey
Gets the smallest item of the sequence using the comparer with the selector function returned values.
(Defined by IEnumerableExtension.)
Top
See Also