[corlib] Update ValueTuple implementation
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / Hosting / ICommandService.cs
1 //----------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation.  All rights reserved.
3 //----------------------------------------------------------------
4
5 namespace System.Activities.Presentation.Hosting
6 {
7     using System.Collections.Generic;
8
9     //commanding interface - used for integration of workflow designer actions (like context menu) with custom provided
10     //implementation - i.e. property browser service, debugging service, etc.
11     public interface ICommandService
12     {
13         //returns if given command id is supported 
14         bool IsCommandSupported(int commandId);
15         //verifies if given command can be executed, throws NotSupportedExecption if command is not supported
16         bool CanExecuteCommand(int commandId);
17         //executes command with given id and parameters, throws NotSupportedException if command is not supported
18         void ExecuteCommand(int commandId, Dictionary<string, object> parameters);
19     }
20
21     public static class CommandValues
22     {
23         public const int ShowProperties = 5;
24         public const int InsertBreakpoint = 6;
25         public const int DeleteBreakpoint = 7;
26         public const int EnableBreakpoint = 8;
27         public const int DisableBreakpoint = 9;
28     }
29 }