Class NavigationResult
Represents the result of navigating to a URI.
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class NavigationResult
Constructors
View SourceNavigationResult(NavigationContext, Exception)
Initializes a new instance of the NavigationResult class.
Declaration
public NavigationResult(NavigationContext context, Exception error)
Parameters
| Type | Name | Description |
|---|---|---|
| NavigationContext | context | The context. |
| Exception | error | The error. |
NavigationResult(NavigationContext, bool?)
Initializes a new instance of the NavigationResult class.
Declaration
public NavigationResult(NavigationContext context, bool? result)
Parameters
| Type | Name | Description |
|---|---|---|
| NavigationContext | context | The context. |
| bool? | result | The result. |
Properties
View SourceContext
Gets the navigation context.
Declaration
public NavigationContext Context { get; }
Property Value
| Type | Description |
|---|---|
| NavigationContext | The navigation context. |
Error
Gets an exception that occurred while navigating.
Declaration
public Exception Error { get; }
Property Value
| Type | Description |
|---|---|
| Exception | The exception. |
Result
Gets the result.
Declaration
public bool? Result { get; }
Property Value
| Type | Description |
|---|---|
| bool? | The result. |