Pascal Doc

IList<T> Interface

Generic list interface

Declaration

256 IList<T> = interface
257 (**! @brief Add one item to the list *)
258 procedure Add(Item: T);
259
260 (**! @brief Get item by index *)
261 function GetItem(Index: Integer): T;
262
263 property Count: Integer (**! @brief number datatype *)
264 read GetCount (**! @brief returns item count *);
265 end;
Definition at Line: 256 of file: test1.pas

Cross References

Used by TRepository<T>.FItems
Used by TRepository<T>.Items

Methods

procedure Add (Item: T)
Generic list interface
function GetItem (Index: Integer): T
Get item by index

Properties

property Count: Integer read GetCount

Detailed Description

The IList<T> interface.

Member Function Documentation

procedure IList<T>.Add(Item: T)

Generic list interface

function IList<T>.GetItem(Index: Integer): T

Get item by index

Property Documentation

property Count: Integer 
    read GetCount
          

Type
number datatype
Read
returns item count