コード例 #1
0
        /// <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));
        }
コード例 #2
0
 /// <summary>
 /// Удалить генератор лога заявок, ранее зарегистрированный через <see cref="RegisterOrderLog"/>.
 /// </summary>
 /// <param name="generator">Генератор лога заявок.</param>
 public void UnRegisterOrderLog(OrderLogGenerator generator)
 {
     SendInGeneratorMessage(generator, false);
 }
コード例 #3
0
 /// <summary>
 /// Зарегистрировать генератор лога заявок.
 /// </summary>
 /// <param name="generator">Генератор лога заявок.</param>
 public void RegisterOrderLog(OrderLogGenerator generator)
 {
     SendInGeneratorMessage(generator, true);
 }
コード例 #4
0
		/// <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);
		}
コード例 #5
0
		/// <summary>
		/// To register the orders log generator.
		/// </summary>
		/// <param name="generator">The orders log generator.</param>
		public void RegisterOrderLog(OrderLogGenerator generator)
		{
			SendInGeneratorMessage(generator, true);
		}
コード例 #6
0
 public void UnRegisterOrderLog(OrderLogGenerator generator)
 => UnSubscribeGenerator(generator);
コード例 #7
0
 /// <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);