Class RegionNavigationService
Provides navigation for regions.
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class RegionNavigationService : IRegionNavigationService, INavigate
Constructors
View SourceRegionNavigationService(IServiceLocator, IRegionNavigationContentLoader, IRegionNavigationJournal)
Initializes a new instance of the RegionNavigationService class.
Declaration
public RegionNavigationService(IServiceLocator serviceLocator, IRegionNavigationContentLoader regionNavigationContentLoader, IRegionNavigationJournal journal)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceLocator | serviceLocator | The service locator. |
| IRegionNavigationContentLoader | regionNavigationContentLoader | The navigation target handler. |
| IRegionNavigationJournal | journal | The journal. |
Properties
View SourceJournal
Gets the journal.
Declaration
public IRegionNavigationJournal Journal { get; }
Property Value
| Type | Description |
|---|---|
| IRegionNavigationJournal | The journal. |
Region
Gets or sets the region.
Declaration
public IRegion Region { get; set; }
Property Value
| Type | Description |
|---|---|
| IRegion | The region. |
Methods
View SourceRequestNavigate(Uri, Action<NavigationResult>)
Initiates navigation to the specified target.
Declaration
public void RequestNavigate(Uri target, Action<NavigationResult> navigationCallback)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | target | The target. |
| Action<NavigationResult> | navigationCallback | A callback to execute when the navigation request is completed. |
Events
View SourceNavigated
Raised when the region is navigated to content.
Declaration
public event EventHandler<RegionNavigationEventArgs> Navigated
Event Type
| Type | Description |
|---|---|
| EventHandler<RegionNavigationEventArgs> |
Navigating
Raised when the region is about to be navigated to content.
Declaration
public event EventHandler<RegionNavigationEventArgs> Navigating
Event Type
| Type | Description |
|---|---|
| EventHandler<RegionNavigationEventArgs> |
NavigationFailed
Raised when a navigation request fails.
Declaration
public event EventHandler<RegionNavigationFailedEventArgs> NavigationFailed
Event Type
| Type | Description |
|---|---|
| EventHandler<RegionNavigationFailedEventArgs> |