Browse Source

Renamed ContextAction to IContextAction.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6000 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
pull/1/head
Martin Koníček 15 years ago
parent
commit
3b913de566
  1. 4
      src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/ContextActionCommand.cs
  2. 4
      src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/ContextActionViewModel.cs
  3. 2
      src/Main/Base/Project/Src/Services/RefactoringService/GoToClassAction.cs

4
src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/ContextActionCommand.cs

@ -14,9 +14,9 @@ namespace ICSharpCode.SharpDevelop.Refactoring @@ -14,9 +14,9 @@ namespace ICSharpCode.SharpDevelop.Refactoring
/// </summary>
public class ContextActionCommand : ICommand
{
ContextAction action;
IContextAction action;
public ContextActionCommand(ContextAction action)
public ContextActionCommand(IContextAction action)
{
if (action == null)
throw new ArgumentNullException("action");

4
src/Main/Base/Project/Src/Services/RefactoringService/ContextActions/ContextActionViewModel.cs

@ -26,11 +26,11 @@ namespace ICSharpCode.SharpDevelop.Refactoring @@ -26,11 +26,11 @@ namespace ICSharpCode.SharpDevelop.Refactoring
public ObservableCollection<ContextActionViewModel> ChildActions { get; set; }
ContextAction action;
IContextAction action;
/// <summary>
/// Action that gets executed when this view model is activated by user.
/// </summary>
public ContextAction Action {
public IContextAction Action {
get { return action; }
set {
action = value;

2
src/Main/Base/Project/Src/Services/RefactoringService/GoToClassAction.cs

@ -12,7 +12,7 @@ namespace ICSharpCode.SharpDevelop.Refactoring @@ -12,7 +12,7 @@ namespace ICSharpCode.SharpDevelop.Refactoring
/// <summary>
/// Description of GoToClassAction.
/// </summary>
public class GoToClassAction : ContextAction
public class GoToClassAction : IContextAction
{
public IClass Class { get; private set; }

Loading…
Cancel
Save