/// <summary> /// Creates a new instance of <see cref="StackNavigatorBase"/>. /// </summary> /// <param name="registrations">Mapping of view model types to their view types.</param> public StackNavigatorBase(IReadOnlyDictionary <Type, Type> registrations) { _registrations = registrations; _logger = GetLogger(); State = new StackNavigatorState( stack: new List <NavigationStackEntry>(), lastRequestState: NavigatorRequestState.Processed, lastRequest: null); }
public StackNavigatorEventArgs(StackNavigatorState previousState, StackNavigatorState currentState) { PreviousState = previousState; CurrentState = currentState; }