Interface IStudioCommandService
- Namespace
- StockSharp.Studio.Core.Commands
- Assembly
- StockSharp.Studio.Core.dll
public interface IStudioCommandService : IDisposable
- Inherited Members
- Extension Methods
Properties
GlobalScope
IStudioCommandScope GlobalScope { get; }
Property Value
Methods
Bind(object, IStudioCommandScope)
void Bind(object sender, IStudioCommandScope scope)
Parameters
sender
objectscope
IStudioCommandScope
CanProcess(object, IStudioCommand)
bool CanProcess(object sender, IStudioCommand command)
Parameters
sender
objectcommand
IStudioCommand
Returns
Process(object, IStudioCommand, object[], bool)
void Process(object sender, IStudioCommand command, object[] targets, bool isSyncProcess)
Parameters
sender
objectcommand
IStudioCommandtargets
object[]isSyncProcess
bool
Register<TCommand>(object, bool, Action<object, TCommand>, Func<TCommand, bool>)
void Register<TCommand>(object listener, bool guiAsync, Action<object, TCommand> handler, Func<TCommand, bool> canExecute = null) where TCommand : IStudioCommand
Parameters
Type Parameters
TCommand
UnBind(object)
void UnBind(object sender)
Parameters
sender
object
UnRegister<TCommand>(object)
void UnRegister<TCommand>(object listener) where TCommand : IStudioCommand
Parameters
listener
object
Type Parameters
TCommand