using GalaSoft.MvvmLight.Command;
using Muchinfo.MTPClient.Data;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace Muchinfo.MTPClient.Infrastructure.Interfaces
{
///
/// 分页-基本信息
///
public interface IPageInfo
{
///
/// 当前页
///
int PageIndex { get; set; }
///
/// 每页条数
///
int PageSize { get; set; }
///
/// 总记录条数
///
int ItemCount { get; set; }
///
/// 是否正在查询
///
bool IsQuery { get; set; }
///
/// 分页命令
///
//RelayCommand PagerSearchCommand { get; set; }
//PagerSearchCommand.Execute(null); //打开查询默认第一页
#region PagerSearchCommand实例
//public RelayCommand PagerSearchCommand
//{
// get
// {
// return new RelayCommand(() =>
// {
// IsQuery = true;
// var pageInfo = new PageInfo