C# 클래스 FooCollection, code

상속: IEnumerable
파일 보기 프로젝트 열기: shendongnian/code 1 사용 예제들

공개 메소드들

메소드 설명
Contains ( int id ) : bool
GetById ( int id ) : Foo,

보호된 메소드들

메소드 설명
ClearItems ( ) : void
InsertItem ( f ) : void
RemoveItem ( int index ) : void
SetItem ( int index, item ) : void

메소드 상세

ClearItems() 보호된 메소드

protected ClearItems ( ) : void
리턴 void

Contains() 공개 메소드

public Contains ( int id ) : bool
id int
리턴 bool

GetById() 공개 메소드

public GetById ( int id ) : Foo,
id int
리턴 Foo,

InsertItem() 보호된 메소드

protected InsertItem ( f ) : void
리턴 void

RemoveItem() 보호된 메소드

protected RemoveItem ( int index ) : void
index int
리턴 void

SetItem() 보호된 메소드

protected SetItem ( int index, item ) : void
index int
리턴 void