C# Class ViewModels.AFITop100VM

This class demonstrates the application of dynamic LINQ to perform incremental search on a list, and pagination tehcnique on the results.
Inheritance: BaseVM
ファイルを表示 Open project: dsuryd/dotNetify

Public Methods

Method Description
AFITop100VM ( AFITop100Model model ) : System

Constructor.

Private Methods

Method Description
AutoComplete ( string &iQuery ) : void

Auto-completes a query expression in response to user typing the first letter of a known model property or a LINQ method at the end of the expression.

IsQueryValid ( string iQuery ) : bool

Returns whether a query expression is valid. If not, it will set the QueryError property.

Paginate ( IEnumerable iQueryResults ) : List

Paginates the query results. It sets the Pagination and Page properties.

Method Details

AFITop100VM() public method

Constructor.
public AFITop100VM ( AFITop100Model model ) : System
model AFITop100Model Model containing AFI Top 100 movie records.
return System