Ejemplo n.º 1
0
        public override IPackage Load()
        {
            if (_cachedPackage == null)
            {
                if (!ExtractPackage(PackageFile, _cacheDirectoryPathPath))
                {
                    return(null);
                }

                _cachedPackage = new UncompressedPackage(Source, PackageFile, _cacheDirectoryPathPath);
            }
            return(_cachedPackage);
        }
Ejemplo n.º 2
0
 public override void when_creating_package()
 {
     this._package = new UncompressedPackage(NullRepository.Instance, _packageFile, _packageDirectory);
 }