本文整理汇总了C#中IDotNetProject类的典型用法代码示例。如果您正苦于以下问题:C# IDotNetProject类的具体用法?C# IDotNetProject怎么用?C# IDotNetProject使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IDotNetProject类属于命名空间,在下文中一共展示了IDotNetProject类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: UpdatedNuGetPackagesInProject
public UpdatedNuGetPackagesInProject (
IDotNetProject project,
IEnumerable<PackageIdentity> packages)
{
Project = project;
this.packages = packages.ToList ();
}
示例2: PackageManagementEventArgs
public PackageManagementEventArgs (
IDotNetProject project,
PackageEventArgs e)
: this (project, e.Identity, e.InstallPath)
{
PackageFilePath = GetPackageFilePath (e);
}
示例3: PackageCompatibilityRunner
public PackageCompatibilityRunner (IDotNetProject project)
: this (
project,
PackageManagementServices.ProgressMonitorFactory,
PackageManagementServices.PackageManagementEvents)
{
}
示例4: ProjectPackagesFolderNode
public ProjectPackagesFolderNode (
IDotNetProject project,
IUpdatedPackagesInSolution updatedPackagesInSolution)
{
this.project = project;
this.updatedPackagesInSolution = updatedPackagesInSolution;
}
示例5: OnProjectTargetFrameworkChanged
protected virtual void OnProjectTargetFrameworkChanged (IDotNetProject project)
{
var handler = ProjectTargetFrameworkChanged;
if (handler != null) {
handler (this, new ProjectTargetFrameworkChangedEventArgs (project));
}
}
示例6: UpdatedPackagesInProject
public UpdatedPackagesInProject (
IDotNetProject project,
IEnumerable<IPackageName> packages)
{
Project = project;
this.packages = packages.ToList ();
}
示例7: PackageNeedsReinstall
bool PackageNeedsReinstall (IDotNetProject project, IPackage package, FrameworkName packageTargetFramework)
{
var compatibility = new PackageCompatibility (project, package, packageTargetFramework);
compatibility.CheckCompatibility ();
compatibilityReport.Add (compatibility);
return compatibility.ShouldReinstallPackage;
}
示例8: TestableMonoDevelopProjectSystem
public TestableMonoDevelopProjectSystem (IDotNetProject project)
: this (
project,
new FakeFileService (project),
new FakePackageManagementProjectService (),
new FakeLogger ())
{
}
示例9: TestableMonoDevelopProjectSystem
public TestableMonoDevelopProjectSystem (IDotNetProject project)
: this (
project,
new FakeNuGetProjectContext (),
new FakeFileService (project),
new PackageManagementEvents ())
{
}
示例10: NuGetPackageEventsMonitor
public NuGetPackageEventsMonitor (
IDotNetProject project,
IPackageManagementEvents packageManagementEvents)
: this (
project,
new PackageEventsProvider (),
packageManagementEvents)
{
}
示例11: ReinstallNuGetPackageAction
public ReinstallNuGetPackageAction (
IDotNetProject project,
IMonoDevelopSolutionManager solutionManager)
: this (
project,
solutionManager,
new NuGetProjectContext (),
PackageManagementServices.PackageManagementEvents)
{
}
示例12: PackageCompatibilityRunner
public PackageCompatibilityRunner (IDotNetProject project)
: this (
project,
PackageManagementServices.Solution,
PackageManagementServices.RegisteredPackageRepositories,
PackageManagementServices.ProgressMonitorFactory,
PackageManagementServices.PackageManagementEvents,
PackageManagementServices.ProgressProvider)
{
}
示例13: TestableAllPackagesViewModel
public TestableAllPackagesViewModel (
IMonoDevelopSolutionManager solutionManager,
IDotNetProject dotNetProject)
: this (
solutionManager,
dotNetProject,
new FakeNuGetProjectContext (),
new RecentNuGetPackagesRepository ())
{
}
示例14: CreateProvider
UpdatedNuGetPackagesProvider CreateProvider (IDotNetProject project)
{
var solutionManager = GetSolutionManager (project.ParentSolution);
var nugetProject = CreateNuGetProject (solutionManager, project);
return new UpdatedNuGetPackagesProvider (
project,
solutionManager,
nugetProject,
cancellationTokenSource.Token);
}
示例15: UpdateNuGetPackageAction
public UpdateNuGetPackageAction (
IMonoDevelopSolutionManager solutionManager,
IDotNetProject dotNetProject)
: this (
solutionManager,
dotNetProject,
new NuGetProjectContext (),
new MonoDevelopNuGetPackageManager (solutionManager),
PackageManagementServices.PackageManagementEvents)
{
}