~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/Misc/PackageManagement/Project/Src/Scripting/IPackageManagementConsoleHost.cs

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
 
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
 
3
 
 
4
using System;
 
5
using System.Collections.Generic;
 
6
using ICSharpCode.AvalonEdit;
 
7
using ICSharpCode.Scripting;
 
8
using ICSharpCode.SharpDevelop.Project;
 
9
using NuGet;
 
10
 
 
11
namespace ICSharpCode.PackageManagement.Scripting
 
12
{
 
13
        public interface IPackageManagementConsoleHost : IDisposable
 
14
        {
 
15
                IProject DefaultProject { get; set; }
 
16
                PackageSource ActivePackageSource { get; set; }
 
17
                IScriptingConsole ScriptingConsole { get; set; }
 
18
                IPackageManagementSolution Solution { get; }
 
19
                bool IsRunning { get; }
 
20
                
 
21
                void Clear();
 
22
                void WritePrompt();
 
23
                void Run();
 
24
                void ShutdownConsole();
 
25
                void ExecuteCommand(string command);
 
26
                
 
27
                IPackageManagementProject GetProject(string packageSource, string projectName);
 
28
                IPackageManagementProject GetProject(IPackageRepository sourceRepository, string projectName);
 
29
                PackageSource GetActivePackageSource(string source);
 
30
                
 
31
                IPackageRepository GetPackageRepository(PackageSource packageSource);
 
32
        }
 
33
}