/// <summary> /// Initializes a new instance of the <see cref="GenaMessage"/> class. /// </summary> /// <param name="isRequest">if set to <c>true</c> [is request].</param> protected GenaMessage(bool isRequest) { this.Message = isRequest ? HttpMessage.CreateRequest() : HttpMessage.CreateResponse(); }