/// <summary> /// Удалить генератор лога заявок, ранее зарегистрированный через <see cref="RegisterOrderLog"/>. /// </summary> /// <param name="generator">Генератор лога заявок.</param> public void UnRegisterOrderLog(OrderLogGenerator generator) { if (generator == null) { throw new ArgumentNullException("generator"); } _marketDataAdapter.OrderLogGenerators.Remove(generator.SecurityId); UnRegisterOrderLog(FindSecurity(generator.SecurityId)); }
/// <summary> /// Удалить генератор лога заявок, ранее зарегистрированный через <see cref="RegisterOrderLog"/>. /// </summary> /// <param name="generator">Генератор лога заявок.</param> public void UnRegisterOrderLog(OrderLogGenerator generator) { SendInGeneratorMessage(generator, false); }
/// <summary> /// Зарегистрировать генератор лога заявок. /// </summary> /// <param name="generator">Генератор лога заявок.</param> public void RegisterOrderLog(OrderLogGenerator generator) { SendInGeneratorMessage(generator, true); }
/// <summary> /// To delete the orders log generator, earlier registered through <see cref="RegisterOrderLog"/>. /// </summary> /// <param name="generator">The orders log generator.</param> public void UnRegisterOrderLog(OrderLogGenerator generator) { SendInGeneratorMessage(generator, false); }
/// <summary> /// To register the orders log generator. /// </summary> /// <param name="generator">The orders log generator.</param> public void RegisterOrderLog(OrderLogGenerator generator) { SendInGeneratorMessage(generator, true); }
public void UnRegisterOrderLog(OrderLogGenerator generator) => UnSubscribeGenerator(generator);
/// <summary> /// To register the orders log generator. /// </summary> /// <param name="generator">The orders log generator.</param> /// <returns>Subscription.</returns> //[Obsolete("Uses custom adapter implementation.")] public Subscription RegisterOrderLog(OrderLogGenerator generator) => SubscribeGenerator(generator);