C# Class Infragistics.Controls.DataSource.ODataDataSourcePage

Represents a single page of data retreived from the ODataVirtualDataSource
Inheritance: IDataSourcePage
Mostrar archivo Open project: Infragistics/DataSource-Reference-Implementations Class Usage Examples

Public Methods

Method Description
Count ( ) : int

Gets the actual number of records in the current page.

GetItemAtIndex ( int index ) : object

Gets the item at the specified index within the page.

GetItemValueAtIndex ( int index, string valueName ) : object

Gets the desired item value, by name, from the item at the provided index, within the page.

ODataDataSourcePage ( object>.IEnumerable sourceData, IDataSourceSchema schema, int pageIndex ) : System
PageIndex ( ) : int

Gets the absolute index of the current page within the data source.

Schema ( ) : IDataSourceSchema

Gets the schema associated with the items of the current page.

Method Details

Count() public method

Gets the actual number of records in the current page.
public Count ( ) : int
return int

GetItemAtIndex() public method

Gets the item at the specified index within the page.
public GetItemAtIndex ( int index ) : object
index int The index, within the page, from which to get the desired item.
return object

GetItemValueAtIndex() public method

Gets the desired item value, by name, from the item at the provided index, within the page.
public GetItemValueAtIndex ( int index, string valueName ) : object
index int The index, within the page, for the item from which to get values.
valueName string The name of the value to read from the desired item.
return object

ODataDataSourcePage() public method

public ODataDataSourcePage ( object>.IEnumerable sourceData, IDataSourceSchema schema, int pageIndex ) : System
sourceData object>.IEnumerable
schema IDataSourceSchema
pageIndex int
return System

PageIndex() public method

Gets the absolute index of the current page within the data source.
public PageIndex ( ) : int
return int

Schema() public method

Gets the schema associated with the items of the current page.
public Schema ( ) : IDataSourceSchema
return IDataSourceSchema