diff options
author | Matt Ward <matt.ward@xamarin.com> | 2015-07-03 19:52:53 +0300 |
---|---|---|
committer | Matt Ward <matt.ward@xamarin.com> | 2015-07-03 19:52:53 +0300 |
commit | 06f16742a95ef76b81b1fc358492176fa77c8549 (patch) | |
tree | 47c05776acc33294a543e6edad7a260555896fc3 /main/src/addins/MonoDevelop.PackageManagement | |
parent | af4b7e3897ed8eae26ede752245227f9318c06de (diff) |
[NuGet] Fix badly named class.
Diffstat (limited to 'main/src/addins/MonoDevelop.PackageManagement')
-rw-r--r-- | main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.Tests/MonoDevelop.PackageManagement.Tests.Helpers/FakePackageManagementProjectService.cs | 4 | ||||
-rw-r--r-- | main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.csproj | 2 | ||||
-rw-r--r-- | main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/DotNetSolutionEventArgs.cs (renamed from main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/ISolutionEventArgs.cs) | 6 | ||||
-rw-r--r-- | main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/PackageManagementProjectService.cs | 4 | ||||
-rw-r--r-- | main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/ProjectTargetFrameworkMonitor.cs | 6 |
5 files changed, 11 insertions, 11 deletions
diff --git a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.Tests/MonoDevelop.PackageManagement.Tests.Helpers/FakePackageManagementProjectService.cs b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.Tests/MonoDevelop.PackageManagement.Tests.Helpers/FakePackageManagementProjectService.cs index 60ef2c1a3d..e473bdf56c 100644 --- a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.Tests/MonoDevelop.PackageManagement.Tests.Helpers/FakePackageManagementProjectService.cs +++ b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.Tests/MonoDevelop.PackageManagement.Tests.Helpers/FakePackageManagementProjectService.cs @@ -81,7 +81,7 @@ namespace MonoDevelop.PackageManagement.Tests.Helpers public void RaiseSolutionLoadedEvent (ISolution solution)
{
if (SolutionLoaded != null) {
- SolutionLoaded (this, new ISolutionEventArgs (solution));
+ SolutionLoaded (this, new DotNetSolutionEventArgs (solution));
}
}
@@ -93,7 +93,7 @@ namespace MonoDevelop.PackageManagement.Tests.Helpers public void RaiseSolutionUnloadedEvent (ISolution solution)
{
if (SolutionUnloaded != null) {
- SolutionUnloaded (this, new ISolutionEventArgs (solution));
+ SolutionUnloaded (this, new DotNetSolutionEventArgs (solution));
}
}
diff --git a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.csproj b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.csproj index cb7fa82185..28a2416b09 100644 --- a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.csproj +++ b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.csproj @@ -373,7 +373,7 @@ <Compile Include="MonoDevelop.PackageManagement\NullOpenPackageReadMeMonitor.cs" /> <Compile Include="MonoDevelop.PackageManagement\DotNetProjectReferenceEventArgs.cs" /> <Compile Include="MonoDevelop.PackageManagement\LocalCopyReferenceMaintainer.cs" /> - <Compile Include="MonoDevelop.PackageManagement\ISolutionEventArgs.cs" /> + <Compile Include="MonoDevelop.PackageManagement\DotNetSolutionEventArgs.cs" /> </ItemGroup> <ItemGroup> <EmbeddedResource Include="MonoDevelop.PackageManagement.addin.xml" /> diff --git a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/ISolutionEventArgs.cs b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/DotNetSolutionEventArgs.cs index be05249be0..43e3f47630 100644 --- a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/ISolutionEventArgs.cs +++ b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/DotNetSolutionEventArgs.cs @@ -1,5 +1,5 @@ //
-// ISolutionEventArgs.cs
+// DotNetSolutionEventArgs.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
@@ -28,9 +28,9 @@ using System; namespace MonoDevelop.PackageManagement
{
- public class ISolutionEventArgs : EventArgs
+ public class DotNetSolutionEventArgs : EventArgs
{
- public ISolutionEventArgs (ISolution solution)
+ public DotNetSolutionEventArgs (ISolution solution)
{
Solution = solution;
}
diff --git a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/PackageManagementProjectService.cs b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/PackageManagementProjectService.cs index fe5176fd9c..00bd3ab908 100644 --- a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/PackageManagementProjectService.cs +++ b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/PackageManagementProjectService.cs @@ -53,7 +53,7 @@ namespace ICSharpCode.PackageManagement EventHandler handler = SolutionLoaded;
if (handler != null) {
- handler (this, new ISolutionEventArgs (OpenSolution));
+ handler (this, new DotNetSolutionEventArgs (OpenSolution));
}
}
@@ -67,7 +67,7 @@ namespace ICSharpCode.PackageManagement var handler = SolutionUnloaded;
if (handler != null) {
var proxy = new SolutionProxy (solution);
- handler (this, new ISolutionEventArgs (proxy));
+ handler (this, new DotNetSolutionEventArgs (proxy));
}
}
diff --git a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/ProjectTargetFrameworkMonitor.cs b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/ProjectTargetFrameworkMonitor.cs index 6a22954487..a0b8528796 100644 --- a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/ProjectTargetFrameworkMonitor.cs +++ b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/ProjectTargetFrameworkMonitor.cs @@ -57,7 +57,7 @@ namespace MonoDevelop.PackageManagement void SolutionUnloaded (object sender, EventArgs e)
{
- MonitoredSolution monitoredSolution = FindMonitoredSolution ((ISolutionEventArgs)e);
+ MonitoredSolution monitoredSolution = FindMonitoredSolution ((DotNetSolutionEventArgs)e);
if (monitoredSolution == null)
return;
@@ -70,7 +70,7 @@ namespace MonoDevelop.PackageManagement monitoredSolutions.Remove (monitoredSolution);
}
- MonitoredSolution FindMonitoredSolution (ISolutionEventArgs eventArgs)
+ MonitoredSolution FindMonitoredSolution (DotNetSolutionEventArgs eventArgs)
{
return FindMonitoredSolution (eventArgs.Solution);
}
@@ -85,7 +85,7 @@ namespace MonoDevelop.PackageManagement void SolutionLoaded (object sender, EventArgs e)
{
- var solutionEventArgs = (ISolutionEventArgs)e;
+ var solutionEventArgs = (DotNetSolutionEventArgs)e;
ISolution solution = solutionEventArgs.Solution;
solution.ProjectAdded += ProjectAdded;
List<IDotNetProject> projects = solution.GetAllProjects ().ToList ();
|