public RepositoriesViewModel(IRegistryClient registryClient, RegistryViewModel parent, ILifetimeScope lifetimeScope, ITextEditService textEditService)
        {
            _registryClient  = registryClient ?? throw new ArgumentNullException(nameof(registryClient));
            _parent          = parent ?? throw new ArgumentNullException(nameof(parent));
            _lifetimeScope   = lifetimeScope ?? throw new ArgumentNullException(nameof(lifetimeScope));
            _textEditService = textEditService ?? throw new ArgumentNullException(nameof(textEditService));

            LoadAllRepositoriesCommand = new RelayCommand(LoadAllRepositories);
            LoadRepositoryCommand      = new RelayCommand(LoadRepository);
        }
        public RepositoryViewModel(string name, RegistryViewModel parent, IRegistryClient registryClient, ILifetimeScope lifetimeScope)
        {
            _parent         = parent ?? throw new ArgumentNullException(nameof(parent));
            _registryClient = registryClient ?? throw new ArgumentNullException(nameof(registryClient));
            _lifetimeScope  = lifetimeScope ?? throw new ArgumentNullException(nameof(lifetimeScope));
            Name            = name;

            Refresh();

            RefreshCommand = new RelayCommand(Refresh);
        }