Class StudioCommandService
Inheritance
StudioCommandService
Assembly: StockSharp.Studio.Core.dll
Syntax
public class StudioCommandService : Disposable, IStudioCommandService, IDisposable
Constructors
StudioCommandService()
Declaration
public StudioCommandService()
Methods
DisposeManaged()
Declaration
protected override void DisposeManaged()
Explicit Interface Implementations
IStudioCommandService.Bind(Object, IStudioCommandScope)
Declaration
void IStudioCommandService.Bind(object sender, IStudioCommandScope scope)
Parameters
IStudioCommandService.CanProcess(Object, IStudioCommand)
Declaration
bool IStudioCommandService.CanProcess(object sender, IStudioCommand command)
Parameters
Returns
IStudioCommandService.GlobalScope
Declaration
IStudioCommandScope IStudioCommandService.GlobalScope { get; }
Returns
IStudioCommandService.Process(Object, IStudioCommand, Object[], Boolean)
Declaration
void IStudioCommandService.Process(object sender, IStudioCommand command, object[] targets, bool isSyncProcess)
Parameters
IStudioCommandService.Register<TCommand>(Object, Boolean, Action<Object, TCommand>, Func<TCommand, Boolean>)
Declaration
void IStudioCommandService.Register<TCommand>(object listener, bool guiAsync, Action<object, TCommand> handler, Func<TCommand, bool> canExecute)
where TCommand : IStudioCommand
Parameters
Type Parameters
Name |
Description |
TCommand |
|
IStudioCommandService.UnBind(Object)
Declaration
void IStudioCommandService.UnBind(object sender)
Parameters
Type |
Name |
Description |
Object |
sender |
|
IStudioCommandService.UnRegister<TCommand>(Object)
Declaration
void IStudioCommandService.UnRegister<TCommand>(object listener)
where TCommand : IStudioCommand
Parameters
Type |
Name |
Description |
Object |
listener |
|
Type Parameters
Name |
Description |
TCommand |
|
Implements
Extension Methods