Show / Hide Table of Contents

Struct BeforeRouterResult

Before navigation information

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Neutronium.BuildingBlocks.Application.Navigation
Assembly: Neutronium.BuildingBlocks.Application.dll
Syntax
public struct BeforeRouterResult

Properties

| Improve this Doc View Source

Continue

Cancel navigation if false

Declaration
public bool Continue { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Redirect

Redirect route if not null

Declaration
public string Redirect { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

To

Targeted ViewModel

Declaration
public object To { get; }
Property Value
Type Description
System.Object

Methods

| Improve this Doc View Source

Cancel()

Instance used to cancel navigation

Declaration
public static BeforeRouterResult Cancel()
Returns
Type Description
BeforeRouterResult
| Improve this Doc View Source

CreateRedirect(String)

Instance used to redirect the navigation

Declaration
public static BeforeRouterResult CreateRedirect(string routeName)
Parameters
Type Name Description
System.String routeName
Returns
Type Description
BeforeRouterResult
| Improve this Doc View Source

Ok(Object)

Instance used to navigate to the given ViewModel

Declaration
public static BeforeRouterResult Ok(object viewModel)
Parameters
Type Name Description
System.Object viewModel
Returns
Type Description
BeforeRouterResult
  • Improve this Doc
  • View Source
Back to top Generated by DocFX