protected VisualStudioCredentialProvider(IVsWebProxy webProxyService)
 {
     if (webProxyService == null)
     {
         throw new ArgumentNullException("webProxyService");
     }
     _webProxyService = webProxyService;
 }
 protected VisualStudioCredentialProvider(IVsWebProxy webProxyService)
 {
     if (webProxyService == null)
     {
         throw new ArgumentNullException("webProxyService");
     }
     _webProxyService = webProxyService;
 }
Пример #3
0
 public VisualStudioCredentialProvider(IVsWebProxy webProxyService)
 {
     if (webProxyService == null)
     {
         throw new ArgumentNullException(nameof(webProxyService));
     }
     _webProxyService = webProxyService;
     Id = $"{typeof(VisualStudioCredentialProvider).Name}_{Guid.NewGuid()}";
 }
        internal VisualStudioCredentialProvider(IVsWebProxy webProxyService, Lazy <JoinableTaskFactory> joinableTaskFactory)
        {
            if (webProxyService == null)
            {
                throw new ArgumentNullException(nameof(webProxyService));
            }

            if (joinableTaskFactory == null)
            {
                throw new ArgumentNullException(nameof(joinableTaskFactory));
            }

            _webProxyService     = webProxyService;
            _joinableTaskFactory = joinableTaskFactory;
            Id = $"{typeof(VisualStudioCredentialProvider).Name}_{Guid.NewGuid()}";
        }
 public VSRequestCredentialProvider(IVsWebProxy webProxy)
     : base(webProxy)
 {
 }
 public VisualStudioCredentialProvider(IVsWebProxy webProxyService)
     : this(webProxyService, new Lazy <JoinableTaskFactory>(() => NuGetUIThreadHelper.JoinableTaskFactory))
 {
 }
 public VisualStudioProxyProvider(IVsWebProxy vsWebProxy)
 {
     _vsWebProxy = vsWebProxy;
 }