Show / Hide Table of Contents

Interface IRegionNavigationContentLoader

Identifies the view in a region that is the target of a navigation request.

Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public interface IRegionNavigationContentLoader

Methods

View Source

LoadContent(IRegion, NavigationContext)

Gets the content to which the navigation request represented by navigationContext applies.

Declaration
object LoadContent(IRegion region, NavigationContext navigationContext)
Parameters
Type Name Description
IRegion region

The region.

NavigationContext navigationContext

The context representing the navigation request.

Returns
Type Description
object

The item to be the target of the navigation request.

Remarks

If none of the items in the region match the target of the navigation request, a new item will be created and added to the region.

Exceptions
Type Condition
InvalidOperationException

when a new item cannot be created for the navigation request.

Extension Methods

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