Logo Navs

ICSharpRouter<'TView> Type

Instance members

Instance member Description

this.BackAsync

Full Usage: this.BackAsync

Parameters:
Returns: Task<NavigationOutcome>
Modifiers: abstract
?cancellationToken : CancellationToken
Returns: Task<NavigationOutcome>

this.Changed

Full Usage: this.Changed

Returns: IEvent<EventHandler<RouterSnapshotChangedEventArgs<'TView>>, RouterSnapshotChangedEventArgs<'TView>>
Modifiers: abstract

this.ClearCache

Full Usage: this.ClearCache

Modifiers: abstract

this.ForwardAsync

Full Usage: this.ForwardAsync

Parameters:
Returns: Task<NavigationOutcome>
Modifiers: abstract
?cancellationToken : CancellationToken
Returns: Task<NavigationOutcome>

this.IsActive

Full Usage: this.IsActive

Parameters:
Returns: bool
Modifiers: abstract

True when the named route is the active route for the supplied parameters.

routeName : string
parameters : IReadOnlyDictionary<string, obj>
Returns: bool

this.NavigateAsync

Full Usage: this.NavigateAsync

Parameters:
Returns: Task<NavigationOutcome>
Modifiers: abstract
url : string
?cancellationToken : CancellationToken
Returns: Task<NavigationOutcome>

this.NavigateAsync

Full Usage: this.NavigateAsync

Parameters:
Returns: Task<NavigationOutcome>
Modifiers: abstract
routeName : string
parameters : IReadOnlyDictionary<string, obj>
?cancellationToken : CancellationToken
Returns: Task<NavigationOutcome>

this.Snapshot

Full Usage: this.Snapshot

Returns: RouterSnapshot<'TView>
Modifiers: abstract
Returns: RouterSnapshot<'TView>

this.TryBuildLink

Full Usage: this.TryBuildLink

Parameters:
Returns: bool
Modifiers: abstract

Builds the URL for a named route. Returns false when the route is unknown or a parameter is missing.

routeName : string
parameters : IReadOnlyDictionary<string, obj>
url : byref<string>
Returns: bool

Type something to start searching.