// #region method ReadCommandCompleted /// <summary> /// Is called when SMTP command reading has completed. /// </summary> /// <param name="op">Asynchronous operation.</param> private void ReadCommandCompleted(ReadCommandAsyncOP op) { if(this.IsDisposed){ return; } if(op == null){ // TODO: Log somewhere, don't raise exception. } // TODO: }
/// <summary> /// Reads next SMTP command. /// </summary> /// <param name="op">Asynchronous operation.</param> /// <exception cref="ArgumentNullException">Is raised when <b>op</b> is null reference.</exception> private void ReadCommandAsync(ReadCommandAsyncOP op) { if(op == null){ throw new ArgumentNullException("op"); } // ReadCommandCompleted }