public ResultPromise <TransportResponse> Send(TransportRequest request) { #region Contracts if (request == null) { throw new ArgumentNullException(); } #endregion // Send return(_provider.Send(request)); }
public virtual ResultPromise <TransportResponse> Send(TransportRequest request) { #region Contracts if (request == null) { throw new ArgumentNullException(); } #endregion // Require if (_provider == null) { throw new InvalidOperationException(); } // Send return(_provider.Send(request)); }