internal HttpResponse(CreateOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } StatusCode = options.StatusCode; EndDateTime = options.EndDateTime; Properties = options.Properties ?? new ResponseProperties(new ResponseProperties.CreateOptions()); }
internal void SetProperties(ResponseProperties properties) { Properties = properties ?? throw new ArgumentNullException(nameof(properties)); }