Example #1
0
 public AssetsReader(Files files, NuGetContext context)
 {
     _files        = files;
     _context      = context;
     _overrides    = new Dictionary <string, PackageOverride>(StringComparer.OrdinalIgnoreCase);
     _downloadDeps = new Dictionary <string, PackageId>(StringComparer.OrdinalIgnoreCase);
 }
Example #2
0
        public Restorer(NuGetContext context)
        {
            _context    = context;
            _specPath   = context.Args["spec_path"];
            _dotnetPath = context.Args["dotnet_path"];
            _testLogger = context.Args["test_logger"];

            _dir = Path.GetDirectoryName(_specPath) !;
        }
Example #3
0
 public Parser(NuGetContext context, Files files, AssetsReader assetsReader)
 {
     _context      = context;
     _files        = files;
     _assetsReader = assetsReader;
 }
Example #4
0
 public BuildGenerator(NuGetContext context)
 {
     _context          = context;
     _testLogger       = context.Args["test_logger"];
     _nugetBuildConfig = context.Args["nuget_build_config"];
 }