Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1892 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
11 changed files with 103 additions and 42 deletions
@ -0,0 +1,52 @@
@@ -0,0 +1,52 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="Daniel Grunwald" email="daniel@danielgrunwald.de"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
|
||||
namespace ICSharpCode.SharpDevelop.Project |
||||
{ |
||||
/// <summary>
|
||||
/// An <Import>-node in an MSBuild file.
|
||||
/// </summary>
|
||||
public class MSBuildImport : ICloneable |
||||
{ |
||||
string project; |
||||
string condition; |
||||
|
||||
public string Project { |
||||
get { |
||||
return project; |
||||
} |
||||
set { |
||||
if (value == null) |
||||
throw new ArgumentNullException("value"); |
||||
project = value; |
||||
} |
||||
} |
||||
|
||||
public string Condition { |
||||
get { |
||||
return condition; |
||||
} |
||||
set { |
||||
condition = value; |
||||
} |
||||
} |
||||
|
||||
public MSBuildImport(string project) |
||||
{ |
||||
this.Project = project; |
||||
} |
||||
|
||||
public object Clone() |
||||
{ |
||||
MSBuildImport n = new MSBuildImport(this.Project); |
||||
n.Condition = this.Condition; |
||||
return n; |
||||
} |
||||
} |
||||
} |
||||
Loading…
Reference in new issue