~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/Misc/PackageManagement/Project/Src/Design/FakeInstallPackageAction.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
 
 
6
namespace ICSharpCode.PackageManagement.Design
 
7
{
 
8
        public class FakeInstallPackageAction : InstallPackageAction
 
9
        {
 
10
                public FakeInstallPackageAction()
 
11
                        : this(null)
 
12
                {
 
13
                }
 
14
                
 
15
                public FakeInstallPackageAction(IPackageManagementProject project)
 
16
                        : base(project, null)
 
17
                {
 
18
                }
 
19
                
 
20
                public bool IsExecuteCalled;
 
21
                
 
22
                protected override void ExecuteCore()
 
23
                {
 
24
                        IsExecuteCalled = true;
 
25
                }
 
26
                
 
27
                protected override void BeforeExecute()
 
28
                {
 
29
                }
 
30
        }
 
31
}