C# Class ddcat.uwp.dao.engine.sdViewModel.BookSdViewModel

Inheritance: ViewModelBase, ISdViewModel
Mostrar archivo Open project: noear/SiteD

Public Properties

Property Type Description
bookUrl String
isSectionsAsc bool

Public Methods

Method Description
BookSdViewModel ( String url ) : System
clear ( ) : void
get ( int idx ) : SectionModel
loadByConfig ( SdNode config ) : void
loadByJson ( SdNode config ) : void
total ( ) : int

Protected Methods

Method Description
newSection ( ) : SectionModel
onAddItem ( SectionModel sec ) : void

Method Details

BookSdViewModel() public method

public BookSdViewModel ( String url ) : System
url String
return System

clear() public method

public clear ( ) : void
return void

get() public method

public get ( int idx ) : SectionModel
idx int
return SectionModel

loadByConfig() public method

public loadByConfig ( SdNode config ) : void
config org.noear.sited.SdNode
return void

loadByJson() public method

public loadByJson ( SdNode config ) : void
config org.noear.sited.SdNode
return void

newSection() protected abstract method

protected abstract newSection ( ) : SectionModel
return SectionModel

onAddItem() protected method

protected onAddItem ( SectionModel sec ) : void
sec SectionModel
return void

total() public method

public total ( ) : int
return int

Property Details

bookUrl public_oe property

public String bookUrl
return String

isSectionsAsc public_oe property

public bool isSectionsAsc
return bool