[amd64/tramp] hide interpreter specific trampoline behind ifdef
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / Hosting / IWorkflowCommandExtensionCallback.cs
1 //----------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation.  All rights reserved.
3 //----------------------------------------------------------------
4
5 namespace System.Activities.Presentation.Hosting
6 {
7     using System.Runtime;
8     using System.Windows.Input;
9
10     [Fx.Tag.XamlVisible(false)]
11     public sealed class CommandInfo
12     {
13         internal CommandInfo(ICommand command)
14         {
15             this.Command = command;
16             this.IsBindingEnabledInDesigner = true;
17         }
18
19         public ICommand Command
20         {
21             get;
22             internal set;
23         }
24
25         public bool IsBindingEnabledInDesigner
26         {
27             get;
28             set;
29         }
30     }
31
32     public interface IWorkflowCommandExtensionCallback
33     {
34         void OnWorkflowCommandLoaded(CommandInfo commandInfo);
35     }
36 }