Add method

void Add(
  1. TResponse response
)
Adds specified response. The response.

Implementation

void Add(TResponse response) {
  EwsUtilities.Assert(
      response != null, "EwsResponseList.Add", "response is null");

  if (response.Result!.index > this._overallResult!.index) {
    this._overallResult = response.Result;
  }

  this._responses.add(response);
}