예제 #1
0
        public override async Task <Tuple <bool, INuGetResource> > TryCreate(SourceRepository source, CancellationToken token)
        {
            UISearchResourceV2 resource = null;
            V2Resource         v2repo   = await GetRepository(source, token);

            if (v2repo != null)
            {
                resource = new UISearchResourceV2(v2repo);
            }

            return(new Tuple <bool, INuGetResource>(resource != null, resource));
        }
 public PackageMetadataResourceLocal(V2Resource resource)
 {
     V2Client = resource.V2Client;
 }
예제 #3
0
 public V2VisualStudioUISearchResource(V2Resource resource)
     : base(resource)
 {
 }
예제 #4
0
 public UserinfoResource(Oauth2Service service)
 {
     this.service = service;
     this._v2     = new V2Resource(service);
 }
예제 #5
0
 public PackageSearchResourceLocal(V2Resource resource)
 {
     V2Client = resource.V2Client;
 }
예제 #6
0
 public V2VisualStudioUIMetadataResource(V2Resource resource)
     : base(resource)
 {
 }
예제 #7
0
 public PowerShellAutoCompleteResourceV2(V2Resource resource)
 {
     V2Client = resource.V2Client;
 }
 public AutoCompleteResourceLocal(V2Resource resource)
 {
     V2Client = resource.V2Client;
 }
예제 #9
0
 public UserinfoResource(Oauth2Service service, Google.Apis.Authentication.IAuthenticator _authenticator)
 {
     this.service        = service;
     this._authenticator = _authenticator;
     this._v2            = new V2Resource(service, _authenticator);
 }
 public UIMetadataResourceV2(V2Resource resource)
 {
     V2Client = resource.V2Client;
 }
 public V2VisualStudioUISearchResource(V2Resource resource)
     : base(resource)
 {
 }
예제 #12
0
 public V2UISearchResource(V2Resource resource)
 {
     V2Client = resource.V2Client;
 }
예제 #13
0
 public V2UIMetadataResource(V2Resource resource)
 {
     V2Client = resource.V2Client;
 }
예제 #14
0
 public V2PowerShellAutoCompleteResource(V2Resource resource)
     : base(resource)
 {
 }
예제 #15
0
 public UISearchResourceV2(V2Resource resource)
 {
     V2Client = resource.V2Client;
 }
예제 #16
0
 /// <summary>Constructs a new resource.</summary>
 public UserinfoResource(Google.Apis.Services.IClientService service)
 {
     this.service = service;
     v2           = new V2Resource(service);
 }
예제 #17
0
 public PowerShellSearchResourceV2(V2Resource resource)
 {
     V2Client = resource.V2Client;
 }