Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1055 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
18 changed files with 149 additions and 34 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,38 @@
@@ -0,0 +1,38 @@
|
||||
using System; |
||||
using ICSharpCode.SharpDevelop.Project; |
||||
|
||||
namespace ICSharpCode.SharpDevelop.Project |
||||
{ |
||||
/// <summary>
|
||||
/// Interface called to load (convert) project and solution files
|
||||
/// </summary>
|
||||
public interface IProjectLoader |
||||
{ |
||||
/// <summary>
|
||||
/// Load/Convert the project solution
|
||||
/// </summary>
|
||||
void Load(string fileName); |
||||
} |
||||
|
||||
/// <summary>
|
||||
/// Loader for MSBuild project files
|
||||
/// </summary>
|
||||
public class LoadProject : IProjectLoader |
||||
{ |
||||
public void Load(string fileName) |
||||
{ |
||||
ProjectService.LoadProject(fileName); |
||||
} |
||||
} |
||||
|
||||
/// <summary>
|
||||
/// Loader for sln files as well as Sharpdevelop cmbx and prjx files
|
||||
/// </summary>
|
||||
public class LoadSolution : IProjectLoader |
||||
{ |
||||
public void Load(string fileName) |
||||
{ |
||||
ProjectService.LoadSolution(fileName); |
||||
} |
||||
} |
||||
} |
Binary file not shown.
Loading…
Reference in new issue