C# Class FooCollection, code

Inheritance: IEnumerable
Afficher le fichier Open project: shendongnian/code Class Usage Examples

Méthodes publiques

Méthode Description
Contains ( int id ) : bool
GetById ( int id ) : Foo,

Méthodes protégées

Méthode Description
ClearItems ( ) : void
InsertItem ( f ) : void
RemoveItem ( int index ) : void
SetItem ( int index, item ) : void

Method Details

ClearItems() protected méthode

protected ClearItems ( ) : void
Résultat void

Contains() public méthode

public Contains ( int id ) : bool
id int
Résultat bool

GetById() public méthode

public GetById ( int id ) : Foo,
id int
Résultat Foo,

InsertItem() protected méthode

protected InsertItem ( f ) : void
Résultat void

RemoveItem() protected méthode

protected RemoveItem ( int index ) : void
index int
Résultat void

SetItem() protected méthode

protected SetItem ( int index, item ) : void
index int
Résultat void