Class TestResult<TResponse>
a record encapsulating the http response as well as the resulting dto of a test execution
Implements
IEquatable<TestResult<TResponse>>
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
public sealed record TestResult<TResponse> : IEquatable<TestResult<TResponse>>
Type Parameters
Name | Description |
---|---|
TResponse | the type of the response dto |
Constructors
TestResult(HttpResponseMessage, TResponse)
a record encapsulating the http response as well as the resulting dto of a test execution
Declaration
public TestResult(HttpResponseMessage Response, TResponse Result)
Parameters
Type | Name | Description |
---|---|---|
HttpResponseMessage | Response | http response message object |
TResponse | Result | the resulting dto object |
Properties
Response
http response message object
Declaration
public HttpResponseMessage Response { get; init; }
Property Value
Type | Description |
---|---|
HttpResponseMessage |
Result
the resulting dto object
Declaration
public TResponse Result { get; init; }
Property Value
Type | Description |
---|---|
TResponse |