C# Class FSoft.WordApp.Core.ViewModels.CatalogNewsViewModel

Inheritance: BaseViewModel
Mostrar archivo Open project: fpt-software/Wordpress-Client Class Usage Examples

Public Methods

Method Description
Add ( Post post, bool checkExist = false ) : void
CatalogNewsViewModel ( IFNewsService service, IMvxDeviceInfo deviceInfoPlugin ) : System
ClearData ( ) : void
Init ( int CategoryId, string CategoryName ) : void
LoadData ( int id, int page = 1 ) : void
RefreshData ( ) : void
Start ( ) : void

Private Methods

Method Description
DoLoadMoreNews ( ) : void
DoSelectCatalogNews ( Post item ) : void
isExistPost ( int id ) : bool

Method Details

Add() public method

public Add ( Post post, bool checkExist = false ) : void
post FSoft.WordApp.Core.Models.Post
checkExist bool
return void

CatalogNewsViewModel() public method

public CatalogNewsViewModel ( IFNewsService service, IMvxDeviceInfo deviceInfoPlugin ) : System
service IFNewsService
deviceInfoPlugin IMvxDeviceInfo
return System

ClearData() public method

public ClearData ( ) : void
return void

Init() public method

public Init ( int CategoryId, string CategoryName ) : void
CategoryId int
CategoryName string
return void

LoadData() public method

public LoadData ( int id, int page = 1 ) : void
id int
page int
return void

RefreshData() public method

public RefreshData ( ) : void
return void

Start() public method

public Start ( ) : void
return void