Skip to content

Files

109 lines (92 loc) · 2.35 KB

Atc.Rest.Results.md

File metadata and controls

109 lines (92 loc) · 2.35 KB

Atc.Rest.Results


Pagination<T>

public class Pagination&lt;T&gt;

Properties

ContinuationToken

ContinuationToken

Count

Count

Items

Items

PageIndex

PageIndex

PageSize

PageSize

QueryString

QueryString

TotalCount

TotalCount

TotalPages

TotalPages

Methods

ToString

string ToString()

ResultBase

ResultBase.

public abstract class ResultBase

ResultFactory

public static class ResultFactory

Static Methods

CreateContentResult

ContentResult CreateContentResult(HttpStatusCode statusCode, string message, string contentType = application/json)

CreateContentResultWithProblemDetails

ContentResult CreateContentResultWithProblemDetails(HttpStatusCode statusCode, string message, string contentType = application/json)

CreateContentResultWithProblemDetails

ContentResult CreateContentResultWithProblemDetails(HttpStatusCode statusCode, object value, string contentType = application/json)

CreateContentResultWithValidationProblemDetails

ContentResult CreateContentResultWithValidationProblemDetails(HttpStatusCode statusCode, string message, string contentType = application/json)

CreateContentResultWithValidationProblemDetails

ContentResult CreateContentResultWithValidationProblemDetails(HttpStatusCode statusCode, Dictionary<string, string[]> errors, string message, string contentType = application/json)

CreateFileContentResult

FileResult CreateFileContentResult(byte[] bytes, string fileName, string contentType = application/octet-stream)

CreateProblemDetails

ProblemDetails CreateProblemDetails(HttpStatusCode statusCode, string message)

CreateValidationProblemDetails

ValidationProblemDetails CreateValidationProblemDetails(HttpStatusCode statusCode, Dictionary<string, string[]> errors, string message)

Generated by MarkdownCodeDoc version 1.2