Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ICommandBase.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System.Windows.Input;
4 
5 namespace SiliconStudio.Presentation.Commands
6 {
7  /// <summary>
8  /// An interface representing an implementation of <see cref="ICommand"/> with additional properties.
9  /// </summary>
10  public interface ICommandBase : ICommand
11  {
12  /// <summary>
13  /// Indicates whether the command can be executed or not.
14  /// </summary>
15  bool IsEnabled { get; set; }
16 
17  /// <summary>
18  /// Executes the command with a <c>null</c> parameter.
19  /// </summary>
20  void Execute();
21  }
22 }
An interface representing an implementation of ICommand with additional properties.
Definition: ICommandBase.cs:10