Namespace: Consultingwerk.Framework.Base
Class 
ListEnumerator Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.Base.IEnumerator

File:ListEnumerator
Purpose:Provides enumeration for the List class
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Jan 20 20:52:23 CET 2012



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
+ ListEnumerator (IEnumerable, handle, handle) Constructor for the ListEnumerator class

Top Property Summary
Options Name Purpose
+ Progress.Lang.Object Current Returns the current item in the List
+ Consultingwerk.Framework.Base.IEnumerable 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 ListEnumerator (IEnumerable, handle, handle)

Purpose: Constructor for the ListEnumerator class
Notes:

Parameters:
poList Consultingwerk.Framework.Base.IEnumerable
The reference to an implementation of the IEnumerable instance that is enumerated by this object instance
phQuery HANDLE
The query handle create by the IEnumerable instance for this ListEnumerator instance
phBuffer HANDLE
The buffer handle created by the IEnumerable instance for this ListEnumerator instance


Property Detail
Top

PUBLIC Progress.Lang.Object Current

Purpose: Returns the current item in the List
Notes:

Returns Progress.Lang.Object
Top

PUBLIC Consultingwerk.Framework.Base.IEnumerable List

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

Returns Consultingwerk.Framework.Base.IEnumerable
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:39