Class TestResult<TResponse>
a record encapsulating the http response as well as the resulting dto of a test execution
Inheritance
System.Object
TestResult<TResponse>
Implements
System.IEquatable<TestResult<TResponse>>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
public class 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 |
---|---|---|
System.Net.Http.HttpResponseMessage | Response | http response message object |
TResponse | Result | the resulting dto object |
Properties
Response
http response message object
Declaration
public HttpResponseMessage Response { get; set; }
Property Value
Type | Description |
---|---|
System.Net.Http.HttpResponseMessage |
Result
the resulting dto object
Declaration
public TResponse Result { get; set; }
Property Value
Type | Description |
---|---|
TResponse |
Implements
System.IEquatable<T>