Пример #1
0
		public void GoToFlow(Flow flow) {
			flow.ThrowIfNull("flow");

			_navigationService.UriFor<FlowViewModel>()
				.WithParam<string>(fvm => fvm.FlowId, flow.Id)
				.WithParam<string>(fvm => fvm.FlowName, flow.Name)
				.Navigate();
		}
Пример #2
0
		public GoToFlowCommand(Flow flow, INavigationManager navigationManager) {
			_flow = flow.ThrowIfNull("flow");
			_navigationManager = navigationManager.ThrowIfNull("navigationManager");
		}