Skip to main content

eqokactionresult-class

Represents a special kind of System.Web.Mvc.ActionResult which allows to build an OK (status code 200) response with some extra data Implements the

public class Korzh.EasyQuery.AspNet.EqOkActionResult
: ActionResult

Assembly: Korzh.EasyQuery.AspNet4.dll

Constructors​

NameTypeDescription
EqOkActionResult(object data)voidInitializes a new instance of the Korzh.EasyQuery.AspNet.EqOkActionResult class.

Fields​

NameTypeDescription
DataobjectThe data which should be added to the response body.

Methods​

NameTypeDescription
ExecuteResult(ControllerContext context)voidEnables processing of the result of an action method by a custom type that inherits from the System.Web.Mvc.ActionResult class.
WriteDataToJson(JsonWriter writer)voidWrite the extra data to JsonWriter.
WriteResponse(HttpResponseBase response)voidWrite the response .