Cocktail Help Reference
NavigateResult<T> Class Members
See Also  Fields  Properties  Methods  Send Feedback
Cocktail Assembly > Cocktail Namespace : NavigateResult<T> Class


Glossary Item Box

The following tables list the members exposed by NavigateResult<T>.

Public Constructors

 NameDescription
Public ConstructorNavigateResult<T> ConstructorInitializes a new instance of NavigateResult.  
Top

Public Fields

 NameDescription
Public FieldActivateDelegate that activates the target ViewModel upon completion of the navigation logic.  
Public FieldCanNavigateAwayDelegate that evaluates whether the current active ViewModel allows to be navigated away from.  
Public FieldCanNavigateToDelegate that evaluates whether the target ViewModel allows to be navigated to.  
Public FieldPrepareDelegate that allows for synchronous preparation of the target ViewModel, such as passing parameters.  
Public FieldPrepareAsyncDelegate that allows for asynchronous preparation of the target ViewModel.  
Top

Public Properties

 NameDescription
Public PropertyCancelledReturns whether the navigation was cancelled.  
Public PropertyCompletedSuccessfullyReturns whether the navigation completed successfully.  
Public PropertyConductorThe current conductor used for the navigation.  
Public PropertyErrorReturns the exception if the navigation completed with an error.  
Public PropertyHasErrorReturns whether the navigation completed with an error.  
Public PropertyIsCompletedReturns whether the navigation is completed regardless of whether it was cancelled or failed.  
Public PropertyTargetThe target ViewModel instance.  
Top

Public Methods

 NameDescription
Public MethodAsTaskReturns a Task<T> for the current NavigateResult.  
Public MethodContinueWithCreates a continuation that executes when the navigation completes.  
Public MethodGoExecutes the navigation when a yield return is not possible.  
Top

Public Operators

public Operator Implicit Type Conversion Implicitly converts the current NavigateResult to type System.Threading.Tasks.Task
Top

See Also

© 2012 All Rights Reserved.