Show / Hide Table of Contents

Class RegionNavigationService

Provides navigation for regions.

Inheritance
object
RegionNavigationService
MefRegionNavigationService
Implements
IRegionNavigationService
INavigate
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class RegionNavigationService : IRegionNavigationService, INavigate

Constructors

View Source

RegionNavigationService(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 Source

Journal

Gets the journal.

Declaration
public IRegionNavigationJournal Journal { get; }
Property Value
Type Description
IRegionNavigationJournal

The journal.

View Source

Region

Gets or sets the region.

Declaration
public IRegion Region { get; set; }
Property Value
Type Description
IRegion

The region.

Methods

View Source

RequestNavigate(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 Source

Navigated

Raised when the region is navigated to content.

Declaration
public event EventHandler<RegionNavigationEventArgs> Navigated
Event Type
Type Description
EventHandler<RegionNavigationEventArgs>
View Source

Navigating

Raised when the region is about to be navigated to content.

Declaration
public event EventHandler<RegionNavigationEventArgs> Navigating
Event Type
Type Description
EventHandler<RegionNavigationEventArgs>
View Source

NavigationFailed

Raised when a navigation request fails.

Declaration
public event EventHandler<RegionNavigationFailedEventArgs> NavigationFailed
Event Type
Type Description
EventHandler<RegionNavigationFailedEventArgs>

Implements

IRegionNavigationService
INavigate

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX