本文整理汇总了C#中IRegisteredPackageRepositories类的典型用法代码示例。如果您正苦于以下问题:C# IRegisteredPackageRepositories类的具体用法?C# IRegisteredPackageRepositories怎么用?C# IRegisteredPackageRepositories使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IRegisteredPackageRepositories类属于命名空间,在下文中一共展示了IRegisteredPackageRepositories类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: PackageCompatibilityChecker
public PackageCompatibilityChecker (
IPackageManagementSolution solution,
IRegisteredPackageRepositories registeredRepositories)
{
this.solution = solution;
this.registeredRepositories = registeredRepositories;
}
示例2: GetPackageCmdlet
public GetPackageCmdlet (
IRegisteredPackageRepositories registeredPackageRepositories,
IPackageManagementConsoleHost consoleHost,
ICmdletTerminatingError terminatingError)
: base (consoleHost, terminatingError)
{
this.registeredPackageRepositories = registeredPackageRepositories;
}
示例3: PackageManagementSolution
public PackageManagementSolution(
IRegisteredPackageRepositories registeredPackageRepositories,
IPackageManagementEvents packageManagementEvents)
: this(registeredPackageRepositories,
new PackageManagementProjectService(),
new PackageManagementProjectFactory(packageManagementEvents),
new SolutionPackageRepositoryFactory())
{
}
示例4: PackageManagementConsoleHostProvider
public PackageManagementConsoleHostProvider (
IPackageManagementSolution2 solution,
IRegisteredPackageRepositories registeredRepositories)
: this(solution,
registeredRepositories,
// new PowerShellDetection(),
PackageManagementServices.PackageManagementEvents)
{
}
开发者ID:modulexcite,项目名称:monodevelop-nuget-extensions,代码行数:9,代码来源:PackageManagementConsoleHostProvider.cs
示例5: PackageManagementConsoleHostProvider
public PackageManagementConsoleHostProvider(
IPackageManagementSolution solution,
IRegisteredPackageRepositories registeredRepositories,
IPowerShellDetection powerShellDetection)
{
this.solution = solution;
this.registeredRepositories = registeredRepositories;
this.powerShellDetection = powerShellDetection;
}
示例6: AvailablePackagesViewModel
public AvailablePackagesViewModel(
IRegisteredPackageRepositories registeredPackageRepositories,
IPackageViewModelFactory packageViewModelFactory,
ITaskFactory taskFactory)
: base(registeredPackageRepositories, packageViewModelFactory, taskFactory)
{
IsSearchable = true;
ShowPackageSources = registeredPackageRepositories.HasMultiplePackageSources;
}
示例7: PackageManagementConsoleHost
public PackageManagementConsoleHost(
IPackageManagementSolution solution,
IRegisteredPackageRepositories registeredRepositories)
: this(
solution,
registeredRepositories,
new PowerShellHostFactory(),
new PackageManagementAddInPath())
{
}
示例8: PackageManagementSolution2
public PackageManagementSolution2 (
IRegisteredPackageRepositories registeredPackageRepositories,
IPackageManagementEvents packageManagementEvents)
: this (
registeredPackageRepositories,
PackageManagementExtendedServices.ProjectService,
new PackageManagementProjectFactory2 (packageManagementEvents),
new SolutionPackageRepositoryFactory ())
{
}
示例9: PackageManagementSolution
public PackageManagementSolution(
IRegisteredPackageRepositories registeredPackageRepositories,
IPackageManagementEvents packageManagementEvents,
IPackageManagementProjectService projectService,
IPackageManagementProjectFactory projectFactory)
{
this.registeredPackageRepositories = registeredPackageRepositories;
this.packageManagementEvents = packageManagementEvents;
this.projectFactory = projectFactory;
this.projectService = projectService;
}
示例10: PackageManagementSolution
public PackageManagementSolution(
IRegisteredPackageRepositories registeredPackageRepositories,
IPackageManagementProjectService projectService,
IPackageManagementProjectFactory projectFactory,
ISolutionPackageRepositoryFactory solutionPackageRepositoryFactory)
{
this.registeredPackageRepositories = registeredPackageRepositories;
this.projectFactory = projectFactory;
this.projectService = projectService;
this.solutionPackageRepositoryFactory = solutionPackageRepositoryFactory;
}
示例11: UpdatedPackagesViewModel
public UpdatedPackagesViewModel(
IPackageManagementSolution solution,
IRegisteredPackageRepositories registeredPackageRepositories,
UpdatedPackageViewModelFactory packageViewModelFactory,
ITaskFactory taskFactory)
: base(registeredPackageRepositories,
packageViewModelFactory,
taskFactory)
{
this.selectedProjects = new PackageManagementSelectedProjects(solution);
ShowPackageSources = true;
}
示例12: UpdatedPackagesViewModel
public UpdatedPackagesViewModel(
IPackageManagementSolution packageManagementService,
IRegisteredPackageRepositories registeredPackageRepositories,
UpdatedPackageViewModelFactory packageViewModelFactory,
ITaskFactory taskFactory)
: base(
registeredPackageRepositories,
packageViewModelFactory,
taskFactory)
{
this.solution = packageManagementService;
}
示例13: AvailablePackagesViewModel
public AvailablePackagesViewModel(
IRegisteredPackageRepositories registeredPackageRepositories,
IRecentPackageRepository recentPackageRepository,
IPackageViewModelFactory packageViewModelFactory,
ITaskFactory taskFactory)
: base(registeredPackageRepositories, packageViewModelFactory, taskFactory)
{
this.recentPackageRepository = recentPackageRepository;
IsSearchable = true;
ShowPackageSources = true;
ShowPrerelease = true;
}
示例14: PackageManagementProjectOperations
public PackageManagementProjectOperations (
IPackageManagementSolution solution,
IRegisteredPackageRepositories registeredPackageRepositories,
BackgroundPackageActionRunner backgroundActionRunner,
IPackageManagementEvents packageManagementEvents)
{
this.solution = solution;
this.registeredPackageRepositories = registeredPackageRepositories;
this.backgroundActionRunner = backgroundActionRunner;
packageManagementEvents.ParentPackageInstalled += PackageInstalled;
packageManagementEvents.ParentPackageUninstalled += PackageUninstalled;
}
示例15: TestableUpdatedPackagesInSolution
public TestableUpdatedPackagesInSolution (
IPackageManagementSolution solution,
IRegisteredPackageRepositories registeredPackageRepositories,
IPackageManagementEvents packageManagementEvents)
: base (
solution,
registeredPackageRepositories,
packageManagementEvents)
{
FileExistsAction = path => {
return true;
};
}