Namespace: Consultingwerk.Framework.Collections
Class 
CharacterListEnumerator Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:CharacterListEnumerator
Purpose:Enumerator for the ABL Primitive List Classes
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Jan 25 23:32:21 CET 2012
Notes:Does not implement IEnumerator as the Current property
cannot be of any common type



Top Method Summary
Options Name Purpose
# ListChangedHandler (Object, ListChangedEventArgs) Event handler for the ListChanged event of the IEnumerable instance
+ LOGICAL MoveNext () Moves the enumerator to the next item
+ Reset () Resets the Enumerator (starts enumerating from the first item on)

Top Constructor Summary
Options Name Purpose
+ CharacterListEnumerator (AblPrimitiveList) Constructor for the ListEnumerator class

Top Property Summary
Options Name Purpose
+ CHARACTER Current Returns the current item in the List
+ Consultingwerk.Framework.Base.AblPrimitiveList List Returns the List enumerated by this ListEnumerator instance
+ LOGICAL ListChanged Returns if the List has changed and the Enumerator needs to be Reset()


Method Detail
Top

PROTECTED ListChangedHandler (Object, ListChangedEventArgs)

Purpose: Event handler for the ListChanged event of the IEnumerable instance
Notes: Requires the ISupportsListChanged interface to by implemented by the List

Parameters:
sender Progress.Lang.Object
The sender of the event
e Consultingwerk.Framework.Base.ListChangedEventArgs
The ListChangedEventArgs object instance with the data of the ListChanged event
Top

PUBLIC LOGICAL MoveNext ()

Purpose: Moves the enumerator to the next item
Notes:

Returns LOGICAL
True when the next item is available, false when not.
Top

PUBLIC Reset ()

Purpose: Resets the Enumerator (starts enumerating from the first item on)
Notes:



Constructor Detail
Top

PUBLIC CharacterListEnumerator (AblPrimitiveList)

Purpose: Constructor for the ListEnumerator class
Notes:

Parameters:
poList Consultingwerk.Framework.Base.AblPrimitiveList
The AblPrimitiveList to Enumerate


Property Detail
Top

PUBLIC CHARACTER Current

Purpose: Returns the current item in the List
Notes:

Returns CHARACTER
Top

PUBLIC Consultingwerk.Framework.Base.AblPrimitiveList List

Purpose: Returns the List enumerated by this ListEnumerator instance
Notes:

Returns Consultingwerk.Framework.Base.AblPrimitiveList
Top

PUBLIC LOGICAL ListChanged

Purpose: Returns if the List has changed and the Enumerator needs to be Reset()
Notes:

Returns LOGICAL


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:28:41