Exemplo n.º 1
0
 /// <summary>
 /// Processes a message in an event-driven message pump
 /// </summary>
 /// <param name="callback">The method to invoke when the operation is complete</param>
 /// <param name="options">Options for the message pump</param>
 public void OnMessage(OnMessageAction callback, OnMessageOptions options)
 {
     this.CreateReceiver();
     this.Receiver.OnMessage(callback, options);
 }
Exemplo n.º 2
0
        /// <summary>
        /// Processes a message in an event-driven message pump
        /// </summary>
        /// <param name="callback">The method to invoke when the operation is complete</param>
        public void OnMessage(OnMessageAction callback)
        {
            OnMessageOptions opions = new OnMessageOptions();

            this.OnMessage(callback, opions);
        }
Exemplo n.º 3
0
 /// <summary>
 /// Processes a message in an event-driven message pump
 /// </summary>
 /// <param name="callback">The method to invoke when the operation is complete</param>
 /// <param name="options">Options for the message pump</param>
 public abstract void OnMessage(OnMessageAction callback, OnMessageOptions options);
 /// <summary>
 /// Processes a message in an event-driven message pump
 /// </summary>
 /// <param name="callback">The method to invoke when the operation is complete</param>
 /// <param name="options">Options for the message pump</param>
 public abstract void OnMessage(OnMessageAction callback, OnMessageOptions options);
Exemplo n.º 5
0
 /// <summary>
 /// Processes a message in an event-driven message pump
 /// </summary>
 /// <param name="callback">The method to invoke when the operation is complete</param>
 /// <param name="options">Options for the message pump</param>
 public void OnMessage(OnMessageAction callback, OnMessageOptions options)
 {
     this.CreateReceiver();
     this.Receiver.OnMessage(callback, options);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Processes a message in an event-driven message pump
 /// </summary>
 /// <param name="callback">The method to invoke when the operation is complete</param>
 public void OnMessage(OnMessageAction callback)
 {
     OnMessageOptions opions = new OnMessageOptions();
     this.OnMessage(callback, opions);
 }