[This is preliminary documentation and is subject to change.]

List that provides events when changed

Namespace:  Tools.CollectionsT.GenericT
Assembly:  Tools (in Tools.dll) Version: 1.5.2.0

Author: Đonny

Vertion history

1.5.2 (Release)

Syntax

C#
[SerializableAttribute]
[DesignerSerializerAttribute(typeof(CollectionCodeDomSerializer), typeof(CodeDomSerializer))]
public class ListWithEvents<T> : ListWithEventsBase, 
	ISerializable, IList<T>
Visual Basic (Declaration)
<SerializableAttribute> _
<DesignerSerializerAttribute(GetType(CollectionCodeDomSerializer), GetType(CodeDomSerializer))> _
Public Class ListWithEvents(Of T) _
	Inherits ListWithEventsBase _
	Implements ISerializable, IList(Of T)
Visual C++
[SerializableAttribute]
[DesignerSerializerAttribute(typeof(CollectionCodeDomSerializer), typeof(CodeDomSerializer))]
generic<typename T>
public ref class ListWithEvents : public ListWithEventsBase, 
	ISerializable, IList<T>
J#
J# supports the use of generic APIs, but not the declaration of new ones.
JScript
JScript does not support generic types or methods.

Type Parameters

T
Type of items to be stored in the list

Remarks

If item of type tha implements the IReportsChange interface is passed to this list, than it's events Changed are reported through ItemValueChanged event.

Implementation of interface IList is provided only in orer this class to be compatible with CollectionEditor.

Implementation fo IBindingList is only basic. It supports neither sorting or searching. AddNew()()() is supported when T has default constructor and does not block creating of new instances in other way.

This class utilizes when item implements ICollectionNotifyItem or ICollectionCancelItem.

Inheritance Hierarchy

System..::.Object
  Tools.CollectionsT.GenericT..::.ListWithEventsBase
    Tools.CollectionsT.GenericT..::.ListWithEvents<(Of <(T>)>)
      Tools.Experimental..::.CSV..::.ListInternal

See Also