本文整理汇总了C#中IPackageManagementEvents类的典型用法代码示例。如果您正苦于以下问题:C# IPackageManagementEvents类的具体用法?C# IPackageManagementEvents怎么用?C# IPackageManagementEvents使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IPackageManagementEvents类属于命名空间,在下文中一共展示了IPackageManagementEvents类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ProcessPackageOperationsAction
public ProcessPackageOperationsAction(
IPackageManagementProject project,
IPackageManagementEvents packageManagementEvents)
: base(project, packageManagementEvents)
{
this.packageManagementEvents = packageManagementEvents;
}
示例2: OpenPackageReadMeMonitor
public OpenPackageReadMeMonitor (
string packageId,
IPackageManagementProject project,
IPackageManagementEvents packageManagementEvents)
: this (packageId, project, new PackageManagementFileService (packageManagementEvents))
{
}
示例3: BackgroundPackageActionRunner
public BackgroundPackageActionRunner (
IPackageManagementProgressMonitorFactory progressMonitorFactory,
IPackageManagementEvents packageManagementEvents)
{
this.progressMonitorFactory = progressMonitorFactory;
this.packageManagementEvents = packageManagementEvents;
}
示例4: CreateProgressMonitor
protected override CheckForUpdatesProgressMonitor CreateProgressMonitor (
IPackageManagementProgressMonitorFactory progressMonitorFactory,
IPackageManagementEvents packageManagementEvents)
{
ProgressMonitorCreated = new TestableCheckForUpdatesProgressMonitor (progressMonitorFactory, packageManagementEvents);
return ProgressMonitorCreated;
}
示例5: CreateEventMonitor
protected override PackageManagementEventsMonitor CreateEventMonitor (
ProgressMonitor monitor,
IPackageManagementEvents packageManagementEvents)
{
EventsMonitor = new TestablePackageManagementEventsMonitor (monitor, packageManagementEvents);
return EventsMonitor;
}
示例6: PackageManagementConsoleHostLogger
public PackageManagementConsoleHostLogger(ICmdletLogger logger, IPackageManagementEvents packageEvents)
{
this.logger = logger;
this.packageEvents = packageEvents;
packageEvents.PackageOperationMessageLogged += PackageOperationMessageLogged;
}
示例7: UpdatePackageAction
public UpdatePackageAction(
IPackageManagementProject project,
IPackageManagementEvents packageManagementEvents)
: base(project, packageManagementEvents)
{
UpdateDependencies = true;
}
示例8: UninstallPackageAction
public UninstallPackageAction(
IPackageManagementProject project,
IPackageManagementEvents packageManagementEvents)
: base(project, packageManagementEvents)
{
this.AllowPrereleaseVersions = true;
}
示例9: ProcessPackageAction
public ProcessPackageAction(
IPackageManagementProject project,
IPackageManagementEvents packageManagementEvents)
{
this.Project = project;
this.packageManagementEvents = packageManagementEvents;
}
示例10: PackageManagementOutputMessagesView
public PackageManagementOutputMessagesView(
ICompilerMessageView compilerMessageView,
IPackageManagementEvents packageManagementEvents)
{
CreatePackageManagementMessageCategoryIfNoneExists(compilerMessageView);
packageManagementEvents.PackageOperationMessageLogged += PackageOperationMessageLogged;
}
示例11: InstallPackageAction
public InstallPackageAction(
IPackageManagementProject project,
IPackageManagementEvents packageManagementEvents)
: base(project, packageManagementEvents)
{
DependencyVersion = DependencyVersion.Lowest;
}
示例12: TestableBackgroundPackageActionRunner
public TestableBackgroundPackageActionRunner (
IPackageManagementProgressMonitorFactory progressMonitorFactory,
IPackageManagementEvents packageManagementEvents,
IProgressProvider progressProvider)
: base (progressMonitorFactory, packageManagementEvents, progressProvider)
{
}
示例13: ReinstallProjectPackagesAction
public ReinstallProjectPackagesAction (
IPackageManagementProject project,
IPackageManagementEvents packageManagementEvents)
{
this.project = project;
this.packageManagementEvents = packageManagementEvents;
}
示例14: TestableCheckForUpdatesTaskRunner
public TestableCheckForUpdatesTaskRunner (
ITaskFactory taskFactory,
IPackageManagementProgressMonitorFactory progressMonitorFactory,
IPackageManagementEvents packageManagementEvents)
: base (taskFactory, progressMonitorFactory, packageManagementEvents)
{
}
示例15: TestablePackageManagementEventsMonitor
public TestablePackageManagementEventsMonitor (
ProgressMonitor progressMonitor,
IPackageManagementEvents packageManagementEvents,
IProgressProvider progressProvider)
: base (progressMonitor, packageManagementEvents, progressProvider)
{
}