C# 클래스 BrightIdeasSoftware.FastObjectListDataSource

상속: BrightIdeasSoftware.AbstractVirtualListDataSource
파일 보기 프로젝트 열기: ennerperez/ObjectListView 1 사용 예제들

공개 메소드들

메소드 설명
AddObjects ( ICollection modelObjects ) : void

ApplyFilters ( IModelFilter iModelFilter, IListFilter iListFilter ) : void

Apply the given filters to this data source. One or both may be null.

FastObjectListDataSource ( FastObjectListView listView ) : System

Create a FastObjectListDataSource

GetNthObject ( int n ) : object

Get n'th object

GetObjectCount ( ) : int

How many items are in the data source

GetObjectIndex ( object model ) : int

Get the index of the given model

InsertObjects ( int index, ICollection modelObjects ) : void

RemoveObjects ( ICollection modelObjects ) : void

Remove the given collection of models from this source.

SearchText ( string text, int first, int last, BrightIdeasSoftware.OLVColumn column ) : int

SetObjects ( IEnumerable collection ) : void

Sort ( BrightIdeasSoftware.OLVColumn column, SortOrder sortOrder ) : void

UpdateObject ( int index, object modelObject ) : void

Update/replace the nth object with the given object

보호된 메소드들

메소드 설명
FilterObjects ( ) : void

Build our filtered list from our full list.

RebuildIndexMap ( ) : void

Rebuild the map that remembers which model object is displayed at which line

메소드 상세

AddObjects() 공개 메소드

public AddObjects ( ICollection modelObjects ) : void
modelObjects ICollection
리턴 void

ApplyFilters() 공개 메소드

Apply the given filters to this data source. One or both may be null.
public ApplyFilters ( IModelFilter iModelFilter, IListFilter iListFilter ) : void
iModelFilter IModelFilter
iListFilter IListFilter
리턴 void

FastObjectListDataSource() 공개 메소드

Create a FastObjectListDataSource
public FastObjectListDataSource ( FastObjectListView listView ) : System
listView FastObjectListView
리턴 System

FilterObjects() 보호된 메소드

Build our filtered list from our full list.
protected FilterObjects ( ) : void
리턴 void

GetNthObject() 공개 메소드

Get n'th object
public GetNthObject ( int n ) : object
n int
리턴 object

GetObjectCount() 공개 메소드

How many items are in the data source
public GetObjectCount ( ) : int
리턴 int

GetObjectIndex() 공개 메소드

Get the index of the given model
public GetObjectIndex ( object model ) : int
model object
리턴 int

InsertObjects() 공개 메소드

public InsertObjects ( int index, ICollection modelObjects ) : void
index int
modelObjects ICollection
리턴 void

RebuildIndexMap() 보호된 메소드

Rebuild the map that remembers which model object is displayed at which line
protected RebuildIndexMap ( ) : void
리턴 void

RemoveObjects() 공개 메소드

Remove the given collection of models from this source.
public RemoveObjects ( ICollection modelObjects ) : void
modelObjects ICollection
리턴 void

SearchText() 공개 메소드

public SearchText ( string text, int first, int last, BrightIdeasSoftware.OLVColumn column ) : int
text string
first int
last int
column BrightIdeasSoftware.OLVColumn
리턴 int

SetObjects() 공개 메소드

public SetObjects ( IEnumerable collection ) : void
collection IEnumerable
리턴 void

Sort() 공개 메소드

public Sort ( BrightIdeasSoftware.OLVColumn column, SortOrder sortOrder ) : void
column BrightIdeasSoftware.OLVColumn
sortOrder SortOrder
리턴 void

UpdateObject() 공개 메소드

Update/replace the nth object with the given object
public UpdateObject ( int index, object modelObject ) : void
index int
modelObject object
리턴 void