本文整理汇总了C#中IPackageManagementSolution类的典型用法代码示例。如果您正苦于以下问题:C# IPackageManagementSolution类的具体用法?C# IPackageManagementSolution怎么用?C# IPackageManagementSolution使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IPackageManagementSolution类属于命名空间,在下文中一共展示了IPackageManagementSolution类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: PackageCompatibilityChecker
public PackageCompatibilityChecker (
IPackageManagementSolution solution,
IRegisteredPackageRepositories registeredRepositories)
{
this.solution = solution;
this.registeredRepositories = registeredRepositories;
}
开发者ID:brantwedel,项目名称:monodevelop,代码行数:7,代码来源:PackageCompatibilityChecker.cs
示例2: NuGetPackageRestoreCommandLine
public NuGetPackageRestoreCommandLine (IPackageManagementSolution solution)
: this (
solution,
MonoRuntimeInfo.FromCurrentRuntime (),
EnvironmentUtility.IsMonoRuntime)
{
}
开发者ID:Kalnor,项目名称:monodevelop,代码行数:7,代码来源:NuGetPackageRestoreCommandLine.cs
示例3: CreatePackageInstallerServices
void CreatePackageInstallerServices()
{
fakeSolution = MockRepository.GenerateStub<IPackageManagementSolution>();
installedPackages = new List<IPackage>();
fakeSolution.Stub(s => s.GetPackages()).Return(installedPackages.AsQueryable());
installerServices = new VsPackageInstallerServices(fakeSolution);
}
开发者ID:Netring,项目名称:SharpDevelop,代码行数:7,代码来源:VsPackageInstallerServicesTests.cs
示例4: CreateUpdatePackageInAllProjects
public IUpdatePackageActions CreateUpdatePackageInAllProjects(
PackageReference packageReference,
IPackageManagementSolution solution,
IPackageRepository sourceRepository)
{
return new UpdatePackageInAllProjects(packageReference, solution, sourceRepository);
}
开发者ID:2594636985,项目名称:SharpDevelop,代码行数:7,代码来源:UpdatePackageActionsFactory.cs
示例5: UpdateAllPackagesInSolution
public UpdateAllPackagesInSolution(
IPackageManagementSolution solution,
IPackageRepository sourceRepository)
{
this.solution = solution;
this.sourceRepository = sourceRepository;
}
开发者ID:hpsa,项目名称:SharpDevelop,代码行数:7,代码来源:UpdateAllPackagesInSolution.cs
示例6: PackageReinstaller
public PackageReinstaller (
IPackageManagementSolution solution,
IBackgroundPackageActionRunner runner)
{
this.solution = solution;
this.runner = runner;
}
开发者ID:pabloescribanoloza,项目名称:monodevelop,代码行数:7,代码来源:PackageReinstaller.cs
示例7: RestorePackagesCommand
public RestorePackagesCommand(
IPackageManagementOutputMessagesView outputMessagesView,
IPackageManagementSolution solution)
{
this.outputMessagesView = outputMessagesView;
this.solution = solution;
}
开发者ID:2594636985,项目名称:SharpDevelop,代码行数:7,代码来源:RestorePackagesCommand.cs
示例8: PackageRestoreRunner
internal PackageRestoreRunner (IPackageManagementSolution solution)
: this (
solution,
PackageManagementServices.ProgressMonitorFactory,
PackageManagementServices.PackageManagementEvents,
PackageManagementServices.ProgressProvider)
{
}
开发者ID:powerumc,项目名称:monodevelop_korean,代码行数:8,代码来源:PackageRestoreRunner.cs
示例9: CreateUpdateAllPackagesInSolution
public IUpdatePackageActions CreateUpdateAllPackagesInSolution(
IPackageManagementSolution solution,
IPackageRepository sourceRepository)
{
SolutionPassedToCreateUpdateAllPackagesInSolution = solution;
SourceRepositoryPassedToCreateUpdateAllPackagesInSolution = sourceRepository;
return FakeUpdateAllPackagesInSolution;
}
开发者ID:hpsa,项目名称:SharpDevelop,代码行数:8,代码来源:FakeUpdatePackageActionsFactory.cs
示例10: RestoreAllPackagesInSolution
public void RestoreAllPackagesInSolution (
IPackageManagementSolution solution,
IEnumerable<DotNetProject> projects,
Action afterRestore)
{
var restorer = new PackageRestorer (solution, projects);
Restore (restorer, afterRestore);
}
开发者ID:powerumc,项目名称:monodevelop_korean,代码行数:8,代码来源:RestoreBeforeUpdateAction.cs
示例11: Restore
public static void Restore (
IPackageManagementSolution solution,
IPackageManagementProject project,
Action afterRestore)
{
var runner = new RestoreBeforeUpdateAction ();
runner.RestoreProjectPackages (solution, project.DotNetProject, afterRestore);
}
开发者ID:powerumc,项目名称:monodevelop_korean,代码行数:8,代码来源:RestoreBeforeUpdateAction.cs
示例12: UpdateSolutionPackagesAction
public UpdateSolutionPackagesAction(
IPackageManagementSolution solution,
IPackageManagementEvents packageManagementEvents)
{
this.Solution = solution;
this.UpdateDependencies = true;
this.packageManagementEvents = packageManagementEvents;
}
开发者ID:pabloescribanoloza,项目名称:monodevelop,代码行数:8,代码来源:UpdateSolutionPackagesAction.cs
示例13: UpdateAllPackagesInSolution
public UpdateAllPackagesInSolution(
IPackageManagementSolution solution,
IPackageRepository sourceRepository)
{
this.solution = solution;
this.sourceRepository = sourceRepository;
UpdateDependencies = true;
}
开发者ID:mafiya69,项目名称:monodevelop,代码行数:8,代码来源:UpdateAllPackagesInSolution.cs
示例14: GenerateCommandLine
void GenerateCommandLine(IPackageManagementSolution solution)
{
if (EnvironmentUtility.IsMonoRuntime) {
GenerateMonoCommandLine(solution);
} else {
GenerateWindowsCommandLine(solution);
}
}
开发者ID:kjohnphillip,项目名称:monodevelop-nuget-addin,代码行数:8,代码来源:NuGetPackageRestoreCommandLine.cs
示例15: GenerateMonoCommandLine
void GenerateMonoCommandLine(IPackageManagementSolution solution)
{
Arguments = String.Format(
"--runtime=v4.0 \"{0}\" restore \"{1}\"",
NuGetExePath.GetPath(),
solution.FileName);
Command = Path.Combine (monoRuntime.Prefix, "bin", "mono");
}
开发者ID:Kalnor,项目名称:monodevelop,代码行数:9,代码来源:NuGetPackageRestoreCommandLine.cs
示例16: UpdatedPackageViewModel
public UpdatedPackageViewModel(
IPackageFromRepository package,
IPackageManagementSolution solution,
IPackageManagementEvents packageManagementEvents,
IPackageActionRunner actionRunner,
ILogger logger)
: base(package, solution, packageManagementEvents, actionRunner, logger)
{
}
开发者ID:yuriykipnis,项目名称:SharpDevelop,代码行数:9,代码来源:UpdatedPackageViewModel.cs
示例17: PackageManagementConsoleHostProvider
public PackageManagementConsoleHostProvider(
IPackageManagementSolution solution,
IRegisteredPackageRepositories registeredRepositories)
: this(solution,
registeredRepositories,
new PowerShellDetection(),
PackageManagementServices.PackageManagementEvents)
{
}
开发者ID:Paccc,项目名称:SharpDevelop,代码行数:9,代码来源:PackageManagementConsoleHostProvider.cs
示例18: PackageRestoreRunner
public PackageRestoreRunner(
IPackageManagementSolution solution,
IPackageManagementProgressMonitorFactory progressMonitorFactory,
IPackageManagementEvents packageManagementEvents)
{
this.solution = solution;
this.progressMonitorFactory = progressMonitorFactory;
this.packageManagementEvents = packageManagementEvents;
}
开发者ID:aBothe,项目名称:monodevelop,代码行数:9,代码来源:PackageRestoreRunner.cs
示例19: UpdatePackageInAllProjects
public UpdatePackageInAllProjects(
PackageReference packageReference,
IPackageManagementSolution solution,
IPackageRepository sourceRepository)
{
this.packageReference = packageReference;
this.solution = solution;
this.sourceRepository = sourceRepository;
}
开发者ID:2594636985,项目名称:SharpDevelop,代码行数:9,代码来源:UpdatePackageInAllProjects.cs
示例20: ProjectTemplateNuGetPackageInstaller
public ProjectTemplateNuGetPackageInstaller (
IPackageManagementSolution solution,
IPackageRepositoryCache packageRepositoryCache,
IBackgroundPackageActionRunner backgroundPackageActionRunner)
{
this.packageManagementSolution = solution;
this.packageRepositoryCache = packageRepositoryCache;
this.backgroundPackageActionRunner = backgroundPackageActionRunner;
}
开发者ID:Kalnor,项目名称:monodevelop,代码行数:9,代码来源:ProjectTemplateNuGetPackageInstaller.cs
注:本文中的IPackageManagementSolution类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论