Ejemplo n.º 1
0
        public string GetInstallPath(IPackage package)
        {
            ISolutionPackageRepository repository = CreateSolutionPackageRepository();

            return(repository.GetInstallPath(package));
        }
Ejemplo n.º 2
0
        IPackageScript CreateInitializeScript(IPackage package)
        {
            string packageInstallDirectory = solutionPackageRepository.GetInstallPath(package);

            return(scriptFactory.CreatePackageInitializeScript(package, packageInstallDirectory));
        }