Exemple #1
0
        public ChangesetViewModel(IApplicationService application, IFeaturesService featuresService)
        {
            _applicationService = application;
            _featuresService    = featuresService;

            GoToOwner = ReactiveUI.ReactiveCommand.Create(this.Bind(x => x.Changeset, true).Select(x => x?.Author?.Login != null));
            GoToOwner.Subscribe(_ => ShowViewModel <UserViewModel>(new UserViewModel.NavObject {
                Username = Changeset?.Author?.Login
            }));
        }