示例#1
0
 void RegisterNuGetSource(MachineWideInstallation mwInstl)
 {
     var toolsPath = EnvironmentRepository.GetToolsPath();
     var name = "Prig Source";
     mwInstl.OnNuGetSourceRegistering(name, toolsPath);
     var stdout = NuGetExecutor.StartSourcing(name, toolsPath);
     mwInstl.OnNuGetSourceRegistered(stdout);
 }