コード例 #1
0
 public WrapSlice(string noun, IEnumerable <VerbSlice> commandDescriptors)
     : base(noun, commandDescriptors)
 {
     if (Environment != null && Environment.ProjectRepository != null)
     {
         ProjectDependencies = PackageResolver.TryResolveDependencies(Environment.Descriptor, new[] { Environment.ProjectRepository });
     }
 }
コード例 #2
0
ファイル: WrapCommand.cs プロジェクト: danstuken/openwrap
 protected DependencyResolutionResult ResolveDependencies(PackageDescriptor packageDescriptor, IEnumerable <IPackageRepository> repos)
 {
     return(PackageResolver.TryResolveDependencies(packageDescriptor, repos));
 }