Table of Contents

Class EndpointContentResult<TContent>

Namespace
Songhay.Models
Assembly
SonghayCore.dll

Defines the result returned from all Web-based, boundary-crossing Activities.

public record EndpointContentResult<TContent> : EndpointResult, IEquatable<EndpointResult>, IEquatable<EndpointContentResult<TContent>>

Type Parameters

TContent

the type of the content returned in the response

Inheritance
EndpointContentResult<TContent>
Implements
Inherited Members
Extension Methods

Constructors

EndpointContentResult(HttpStatusCode, string?, string?, TContent?)

Defines the result returned from all Web-based, boundary-crossing Activities.

public EndpointContentResult(HttpStatusCode HttpStatusCode, string? RequestId, string? ResponseMessage, TContent? Content)

Parameters

HttpStatusCode HttpStatusCode

the HttpStatusCode

RequestId string

the identifier of the request

ResponseMessage string

any message associated with the request

Content TContent

any content associated with the response

Properties

Content

any content associated with the response

public TContent? Content { get; init; }

Property Value

TContent