Result<TResponse> class
namespace: Serenity.Services assembly: Serenity.Net.Web
An action result type containing an object.
public class Result<TResponse> : ActionResult
| parameter | description |
|---|---|
| TResponse | The response data type. |
| data | The data object. |
Public Members
| name | description |
|---|---|
| Result(…) | An action result type containing an object. |
| ContentEncoding { get; set; } | Gets or sets the content encoding. |
| ContentType { get; set; } | Gets or sets the content type. |
| Data { get; set; } | Gets or sets the data. |
| SerializerOptions { get; set; } | Gets or sets the JSON serializer settings. |
| override ExecuteResultAsync(…) |
Remarks
Initializes a new instance of the Result class.
See Also
- Source: Result.cs