void OpenScreen(IApplicationContext ctx, Step step, Dictionary <String, object> parameters = null, bool isBackCommand = false) { step.Parameters = parameters; if (_currentStep != step) { step.Init(); _history.Push(step); _currentStep = step; } string controller = String.IsNullOrEmpty(step.Controller) ? Controller : step.Controller; ctx.OpenScreen(step.Screen, controller, step.Parameters, isBackCommand); }
void OpenScreen(IApplicationContext ctx, Step step, Dictionary<String, object> parameters = null, bool isBackCommand = false) { step.Parameters = parameters; if (_currentStep != step) { step.Init(); _history.Push(step); _currentStep = step; } string controller = String.IsNullOrEmpty(step.Controller) ? Controller : step.Controller; ctx.OpenScreen(step.Screen, controller, step.Parameters, isBackCommand); }