public WrapSlice(string noun, IEnumerable <VerbSlice> commandDescriptors) : base(noun, commandDescriptors) { if (Environment != null && Environment.ProjectRepository != null) { ProjectDependencies = PackageResolver.TryResolveDependencies(Environment.Descriptor, new[] { Environment.ProjectRepository }); } }
protected DependencyResolutionResult ResolveDependencies(PackageDescriptor packageDescriptor, IEnumerable <IPackageRepository> repos) { return(PackageResolver.TryResolveDependencies(packageDescriptor, repos)); }