public override IPackage Load() { if (_cachedPackage == null) { if (!ExtractPackage(PackageFile, _cacheDirectoryPathPath)) { return(null); } _cachedPackage = new UncompressedPackage(Source, PackageFile, _cacheDirectoryPathPath); } return(_cachedPackage); }
public override void when_creating_package() { this._package = new UncompressedPackage(NullRepository.Instance, _packageFile, _packageDirectory); }