C# Class PowerArgs.Cli.PageStack

Inheritance: INotifyPropertyChanged
Show file Open project: adamabdelhamed/PowerArgs Class Usage Examples

Public Methods

Method Description
GetSegments ( string path ) : string[]
Navigate ( string path ) : void
PageStack ( ) : System
Refresh ( ) : void
RegisterDefaultRoute ( string path, Func pageFactory ) : void
RegisterRoute ( string route, Func pageFactory ) : void
TryBack ( ) : bool
TryNavigate ( string path ) : bool
TryRefresh ( ) : bool
TryUp ( ) : bool

Private Methods

Method Description
FirePropertyChanged ( string prop ) : void
Push ( string route, Page p ) : void
TryResolveRoute ( string &path, Page &page ) : bool

Method Details

GetSegments() public static method

public static GetSegments ( string path ) : string[]
path string
return string[]

Navigate() public method

public Navigate ( string path ) : void
path string
return void

PageStack() public method

public PageStack ( ) : System
return System

Refresh() public method

public Refresh ( ) : void
return void

RegisterDefaultRoute() public method

public RegisterDefaultRoute ( string path, Func pageFactory ) : void
path string
pageFactory Func
return void

RegisterRoute() public method

public RegisterRoute ( string route, Func pageFactory ) : void
route string
pageFactory Func
return void

TryBack() public method

public TryBack ( ) : bool
return bool

TryNavigate() public method

public TryNavigate ( string path ) : bool
path string
return bool

TryRefresh() public method

public TryRefresh ( ) : bool
return bool

TryUp() public method

public TryUp ( ) : bool
return bool