示例#1
0
 public override async void Invalidate()
 {
     IsVisible = false;
     IsVisible = await _tes.IsGitLabRepoAsync() && _tes.Project != null;
 }
 public override async void Initialize(object sender, SectionInitializeEventArgs e)
 {
     base.Initialize(sender, e);
     IsVisible = !(await _tes.IsGitLabRepoAsync());
 }
        public override async void Refresh()
        {
            IsVisible = await _tes.IsGitLabRepoAsync();

            base.Refresh();
        }