C# Class FooCollection, code

Inheritance: IEnumerable
Exibir arquivo Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
Contains ( int id ) : bool
GetById ( int id ) : Foo,

Protected Methods

Method Description
ClearItems ( ) : void
InsertItem ( f ) : void
RemoveItem ( int index ) : void
SetItem ( int index, item ) : void

Method Details

ClearItems() protected method

protected ClearItems ( ) : void
return void

Contains() public method

public Contains ( int id ) : bool
id int
return bool

GetById() public method

public GetById ( int id ) : Foo,
id int
return Foo,

InsertItem() protected method

protected InsertItem ( f ) : void
return void

RemoveItem() protected method

protected RemoveItem ( int index ) : void
index int
return void

SetItem() protected method

protected SetItem ( int index, item ) : void
index int
return void