public override async Task <Tuple <bool, INuGetResource> > TryCreate(SourceRepository source, CancellationToken token)
        {
            PSSearchResource resource = null;

            var searchResource = await source.GetResourceAsync <RawSearchResourceV3>(token);

            if (searchResource != null)
            {
                resource = new PowerShellSearchResourceV3(searchResource);
            }

            return(new Tuple <bool, INuGetResource>(resource != null, resource));
        }
        public override async Task<Tuple<bool, INuGetResource>> TryCreate(SourceRepository source, CancellationToken token)
        {
            PSSearchResource resource = null;

            var searchResource = await source.GetResourceAsync<RawSearchResourceV3>(token);

            if (searchResource != null)
            {
                resource = new PowerShellSearchResourceV3(searchResource);
            }

            return new Tuple<bool, INuGetResource>(resource != null, resource);
        }