internal SearchContinuationToken(string nextLink, SearchParametersPayload nextPageParameters) { Throw.IfArgumentNullOrEmpty(nextLink, "nextLink"); this.NextLink = nextLink; this.NextPageParameters = nextPageParameters; // Will be null for GET responses. }
internal SearchContinuationToken(string nextLink, SearchParametersPayload nextPageParameters) { if (String.IsNullOrEmpty(nextLink)) { throw new ArgumentException("Parameter cannot be null or empty.", "nextLink"); } NextLink = nextLink; NextPageParameters = nextPageParameters; // Will be null for GET responses. }