コード例 #1
0
        public override void Dispose()
        {
            this._vssConection?.Dispose();
            this._vssConection = null;

            this._witClient?.Dispose();
            this._witClient = null;
        }
コード例 #2
0
        public override async Task Connect(string personalAccessToken)
        {
            _vssConection = _vssConection ?? new VssConnectionFacade();

            await _vssConection.ConnectAsync(this.AccountUri, personalAccessToken);

            _witClient = await _vssConection.GetClientAsync();
        }
コード例 #3
0
        public override async Task Connect(string personalAccessToken)
        {
            using (Logger.BeginScopeContext(nameof(Connect)))
            {
                _vssConection = _vssConection ?? new VssConnectionFacade();

                await _vssConection.ConnectAsync(this.AccountUri, personalAccessToken);

                _witClient = await _vssConection.GetClientAsync();
            }
        }