public static void Send(string strategy, string text) { UserCommand command = new UserCommand(strategy, new OpenQuant.API.UserCommand(DateTime.Now, text)); UserCommandManager.commands.Add(command); if (UserCommandManager.NewCommand != null) UserCommandManager.NewCommand(typeof(UserCommandManager), new UserCommandEventArgs(command)); }
public UserCommandEventArgs(UserCommand command) { this.Command = command; }