53 changed files with 853 additions and 75 deletions
@ -0,0 +1,16 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeAttribute : CodeElement |
||||||
|
{ |
||||||
|
public CodeAttribute() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public virtual string Value { get; set; } |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,22 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeAttribute2 : CodeAttribute |
||||||
|
{ |
||||||
|
public CodeAttribute2() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public virtual string FullName { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public virtual CodeElements Arguments { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,22 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeAttributeArgument : MarshalByRefObject |
||||||
|
{ |
||||||
|
public CodeAttributeArgument() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public virtual string Name { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public virtual string Value { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,19 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeClass : CodeType |
||||||
|
{ |
||||||
|
public virtual CodeElements ImplementedInterfaces { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public virtual CodeVariable AddVariable(string name, object type, object Position = null, vsCMAccess Access = vsCMAccess.vsCMAccessPublic, object Location = null) |
||||||
|
{ |
||||||
|
throw new NotImplementedException(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,14 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeClass2 : CodeClass |
||||||
|
{ |
||||||
|
public CodeElements PartialClasses { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeDelegate : CodeElement |
||||||
|
{ |
||||||
|
public vsCMAccess Access { get; set; } |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,27 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeElement : MarshalByRefObject |
||||||
|
{ |
||||||
|
public virtual string Name { get; set; } |
||||||
|
public virtual string Language { get; private set; } |
||||||
|
|
||||||
|
// default is vsCMPart.vsCMPartWholeWithAttributes
|
||||||
|
public virtual TextPoint GetStartPoint() |
||||||
|
{ |
||||||
|
throw new NotImplementedException(); |
||||||
|
} |
||||||
|
|
||||||
|
public virtual TextPoint GetEndPoint() |
||||||
|
{ |
||||||
|
throw new NotImplementedException(); |
||||||
|
} |
||||||
|
|
||||||
|
public virtual vsCMInfoLocation InfoLocation { get; private set; } |
||||||
|
public virtual DTE DTE { get; private set; } |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,15 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
using System.Collections; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public interface CodeElements : IEnumerable |
||||||
|
{ |
||||||
|
new IEnumerator GetEnumerator(); |
||||||
|
|
||||||
|
int Count { get; } |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeFunction : CodeElement |
||||||
|
{ |
||||||
|
public vsCMAccess Access { get; set; } |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,19 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeInterface : CodeType |
||||||
|
{ |
||||||
|
public CodeInterface() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public CodeFunction AddFunction(string name, vsCMFunction kind, object type, object Position = null, vsCMAccess Access = vsCMAccess.vsCMAccessPublic) |
||||||
|
{ |
||||||
|
throw new NotImplementedException(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,23 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeModel : MarshalByRefObject |
||||||
|
{ |
||||||
|
public CodeModel() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public CodeElements CodeElements { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public CodeType CodeTypeFromFullName(string name) |
||||||
|
{ |
||||||
|
throw new NotImplementedException(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,22 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeNamespace : CodeElement |
||||||
|
{ |
||||||
|
public CodeNamespace() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public string FullName { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public CodeElements Members { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,36 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeProperty : CodeElement |
||||||
|
{ |
||||||
|
public CodeProperty() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public virtual vsCMAccess Access { get; set; } |
||||||
|
|
||||||
|
public virtual CodeClass Parent { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public virtual CodeElements Attributes { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public virtual CodeTypeRef Type { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public virtual CodeFunction Getter { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public virtual CodeFunction Setter { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,26 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeProperty2 : CodeProperty |
||||||
|
{ |
||||||
|
public CodeProperty2() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public CodeElements Members { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public vsCMPropertyKind ReadWrite { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public CodeElements Parameters { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeStruct : CodeElement |
||||||
|
{ |
||||||
|
public vsCMAccess Access { get; set; } |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,28 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeType : CodeElement |
||||||
|
{ |
||||||
|
public virtual vsCMAccess Access { get; set; } |
||||||
|
|
||||||
|
public virtual string FullName { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public virtual CodeElements Members { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public virtual CodeElements Bases { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public virtual CodeElements Attributes { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,26 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeTypeRef : MarshalByRefObject |
||||||
|
{ |
||||||
|
public CodeTypeRef() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public virtual string AsFullName { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public virtual object Parent { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
|
||||||
|
public virtual CodeType CodeType { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,18 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeTypeRef2 : CodeTypeRef |
||||||
|
{ |
||||||
|
public CodeTypeRef2() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public bool IsGeneric { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class CodeVariable : CodeElement |
||||||
|
{ |
||||||
|
public vsCMAccess Access { get; set; } |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,18 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class Configuration : MarshalByRefObject |
||||||
|
{ |
||||||
|
public Configuration() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public Properties Properties { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,18 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class ConfigurationManager : MarshalByRefObject |
||||||
|
{ |
||||||
|
public ConfigurationManager() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public Configuration ActiveConfiguration { |
||||||
|
get { throw new NotImplementedException(); } |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,19 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class EditPoint : TextPoint |
||||||
|
{ |
||||||
|
public EditPoint() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public void ReplaceText(object pointOrCount, string text, int Flags) |
||||||
|
{ |
||||||
|
throw new NotImplementedException(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,26 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
using System.Collections; |
||||||
|
using System.Collections.Generic; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class Projects : MarshalByRefObject, IEnumerable<Project> |
||||||
|
{ |
||||||
|
public Projects() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public IEnumerator<Project> GetEnumerator() |
||||||
|
{ |
||||||
|
throw new NotImplementedException(); |
||||||
|
} |
||||||
|
|
||||||
|
IEnumerator IEnumerable.GetEnumerator() |
||||||
|
{ |
||||||
|
return GetEnumerator(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,29 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class SourceControl : MarshalByRefObject |
||||||
|
{ |
||||||
|
public SourceControl() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public bool IsItemCheckedOut(string itemName) |
||||||
|
{ |
||||||
|
throw new NotImplementedException(); |
||||||
|
} |
||||||
|
|
||||||
|
public bool IsItemUnderSCC(string itemName) |
||||||
|
{ |
||||||
|
throw new NotImplementedException(); |
||||||
|
} |
||||||
|
|
||||||
|
public bool CheckOutItem(string itemName) |
||||||
|
{ |
||||||
|
throw new NotImplementedException(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,21 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public class TextPoint : MarshalByRefObject |
||||||
|
{ |
||||||
|
public TextPoint() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public int LineCharOffset { get; private set; } |
||||||
|
|
||||||
|
public EditPoint CreateEditPoint() |
||||||
|
{ |
||||||
|
throw new NotImplementedException(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public enum vsCMAccess |
||||||
|
{ |
||||||
|
vsCMAccessPublic = 1 |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public enum vsCMFunction |
||||||
|
{ |
||||||
|
vsCMFunctionFunction = 128 |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public enum vsCMInfoLocation |
||||||
|
{ |
||||||
|
vsCMInfoLocationProject = 1 |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,13 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public enum vsCMPropertyKind |
||||||
|
{ |
||||||
|
vsCMPropertyKindReadOnly = 1, |
||||||
|
vsCMPropertyKindWriteOnly = 2 |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,15 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace ICSharpCode.PackageManagement.EnvDTE |
||||||
|
{ |
||||||
|
public enum vsEPReplaceTextOptions |
||||||
|
{ |
||||||
|
vsEPReplaceTextKeepMarkers = 1, |
||||||
|
vsEPReplaceTextNormalizeNewlines = 2, |
||||||
|
vsEPReplaceTextTabsSpaces = 4, |
||||||
|
vsEPReplaceTextAutoformat = 8 |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,20 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
using Microsoft.VisualStudio.Shell.Interop; |
||||||
|
|
||||||
|
namespace Microsoft.VisualStudio.Shell.Flavor |
||||||
|
{ |
||||||
|
public class FlavoredProject : MarshalByRefObject, IVsAggregatableProject, IVsHierarchy |
||||||
|
{ |
||||||
|
public FlavoredProject() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public int GetAggregateProjectTypeGuids(out string projTypeGuids) |
||||||
|
{ |
||||||
|
throw new NotImplementedException(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace Microsoft.VisualStudio.Shell.Interop |
||||||
|
{ |
||||||
|
public interface IVsAggregatableProject |
||||||
|
{ |
||||||
|
int GetAggregateProjectTypeGuids(out string projTypeGuids); |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace Microsoft.VisualStudio.Shell.Interop |
||||||
|
{ |
||||||
|
public interface IVsHierarchy |
||||||
|
{ |
||||||
|
|
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,12 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace Microsoft.VisualStudio.Shell.Interop |
||||||
|
{ |
||||||
|
public interface IVsSolution |
||||||
|
{ |
||||||
|
int GetProjectOfUniqueName(string uniqueName, out IVsHierarchy hierarchy); |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,25 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace Microsoft.VisualStudio.Shell |
||||||
|
{ |
||||||
|
public class ThreadHelper : MarshalByRefObject |
||||||
|
{ |
||||||
|
static readonly ThreadHelper threadHelper = new ThreadHelper(); |
||||||
|
|
||||||
|
ThreadHelper() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
public static ThreadHelper Generic { |
||||||
|
get { return threadHelper; } |
||||||
|
} |
||||||
|
|
||||||
|
public T Invoke<T>(Func<T> method) |
||||||
|
{ |
||||||
|
return method(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,27 @@ |
|||||||
|
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
|
||||||
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
||||||
|
|
||||||
|
using System; |
||||||
|
using System.Collections.Generic; |
||||||
|
using ICSharpCode.PackageManagement; |
||||||
|
using ICSharpCode.PackageManagement.EnvDTE; |
||||||
|
|
||||||
|
namespace PackageManagement.Tests.Helpers |
||||||
|
{ |
||||||
|
public static class PropertiesHelper |
||||||
|
{ |
||||||
|
public static Property FindProperty(Properties properties, string name) |
||||||
|
{ |
||||||
|
return ToList(properties).Find(p => p.Name == name); |
||||||
|
} |
||||||
|
|
||||||
|
public static List<Property> ToList(Properties properties) |
||||||
|
{ |
||||||
|
var itemsList = new List<Property>(); |
||||||
|
foreach (Property property in properties) { |
||||||
|
itemsList.Add(property); |
||||||
|
} |
||||||
|
return itemsList; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue