Initializes a new instance of [Microsoft.AspNet.JsonPatch.Adapters.ObjectAdapter`1](Microsoft.AspNet.JsonPatch.Adapters.ObjectAdapter`1.yml).
:param contractResolver: The @!:IContractResolver-.
:type contractResolver: IContractResolver
:param logErrorAction: The [System.Action]() for logging [Microsoft.AspNet.JsonPatch.JsonPatchError`1](Microsoft.AspNet.JsonPatch.JsonPatchError`1.yml).
Initializes a new instance of [Microsoft.AspNet.JsonPatch.JsonPatchError`1](Microsoft.AspNet.JsonPatch.JsonPatchError`1.yml).
:param affectedObject: The object that is affected by the error.
:type affectedObject: TModel
:param operation: The [Microsoft.AspNet.JsonPatch.Operations.Operation`1](Microsoft.AspNet.JsonPatch.Operations.Operation`1.yml) that caused the error.
Creates a new [Microsoft.AspNet.Mvc.ActionConstraints.ActionConstraintProviderContext](Microsoft.AspNet.Mvc.ActionConstraints.ActionConstraintProviderContext.yml).
:param context:
:type context: HttpContext
:param action: The [Microsoft.AspNet.Mvc.ActionDescriptor](Microsoft.AspNet.Mvc.ActionDescriptor.yml) for which constraints are being created.
:param items: The list of [Microsoft.AspNet.Mvc.ActionConstraints.ActionConstraintItem](Microsoft.AspNet.Mvc.ActionConstraints.ActionConstraintItem.yml) objects.
:param constraints: The list of [Microsoft.AspNet.Mvc.IActionConstraint](Microsoft.AspNet.Mvc.IActionConstraint.yml) instances associated with
<paramref name="action" />.
:param constraints: The list of [Microsoft.AspNet.Mvc.IActionConstraint](Microsoft.AspNet.Mvc.IActionConstraint.yml) instances associated with <paramref name="action" />.
:param context: The HTTP context associated with the current call.
:type context: HttpContext
:rtype: Microsoft.AspNet.Mvc.Rendering.TagBuilder
:return: An HTML string corresponding to an <input type="hidden">
element. This element should be put inside a <form>.
:return: An HTML string corresponding to an <input type="hidden"> element. This element should be put inside a <form>.
.. code-block:: csharp
@ -115,11 +135,15 @@ Methods
appropriate overload of Validate.
:param context: The HTTP context associated with the current call.
:type context: HttpContext
:param oldCookieToken: The anti-forgery token - if any - that already existed
for this request. May be null. The anti-forgery system will try to reuse this cookie
value when generating a matching form token.
:param oldCookieToken: The anti-forgery token - if any - that already existed for this request. May be null. The anti-forgery system will try to reuse this cookie value when generating a matching form token.
:type oldCookieToken: System.String
:rtype: Microsoft.AspNet.Mvc.AntiForgeryTokenSet
@ -135,7 +159,10 @@ Methods
Generates and sets an anti-forgery cookie if one is not available or not valid. Also sets response headers.
:param context: The HTTP context associated with the current call.
:type context: HttpContext
@ -150,9 +177,15 @@ Methods
Validates an anti-forgery token pair that was generated by the GetTokens method.
:param context: The HTTP context associated with the current call.
:type context: HttpContext
:param antiForgeryTokenSet: The anti-forgery token pair (cookie and form token) for this request.
Creates a new [Microsoft.AspNet.Mvc.ApiExplorer.ApiDescriptionGroup](Microsoft.AspNet.Mvc.ApiExplorer.ApiDescriptionGroup.yml).
:param groupName: The group name.
:type groupName: System.String
:param items: A collection of [Microsoft.AspNet.Mvc.ApiExplorer.ApiDescription](Microsoft.AspNet.Mvc.ApiExplorer.ApiDescription.yml) items for this group.
Initializes a new instance of the [Microsoft.AspNet.Mvc.ApiExplorer.ApiDescriptionGroupCollection](Microsoft.AspNet.Mvc.ApiExplorer.ApiDescriptionGroupCollection.yml).
:param items: The list of [Microsoft.AspNet.Mvc.ApiExplorer.ApiDescriptionGroup](Microsoft.AspNet.Mvc.ApiExplorer.ApiDescriptionGroup.yml).
Creates a new instance of [Microsoft.AspNet.Mvc.ApiExplorer.ApiDescriptionGroupCollectionProvider](Microsoft.AspNet.Mvc.ApiExplorer.ApiDescriptionGroupCollectionProvider.yml).
:param actionDescriptorCollectionProvider: The [Microsoft.AspNet.Mvc.IActionDescriptorsCollectionProvider]().
Creates a new instance of [Microsoft.AspNet.Mvc.ApiExplorer.ApiDescriptionProviderContext](Microsoft.AspNet.Mvc.ApiExplorer.ApiDescriptionProviderContext.yml).
Creates a new instance of [Microsoft.AspNet.Mvc.ApiExplorer.DefaultApiDescriptionProvider](Microsoft.AspNet.Mvc.ApiExplorer.DefaultApiDescriptionProvider.yml).
:param optionsAccessor: The accessor for [Microsoft.AspNet.Mvc.MvcOptions]().
Adds a [Microsoft.AspNet.Mvc.ApplicationModels.IActionModelConvention](Microsoft.AspNet.Mvc.ApplicationModels.IActionModelConvention.yml) to all the actions in the application.
:param conventions: The list of [Microsoft.AspNet.Mvc.ApplicationModels.IApplicationModelConvention](Microsoft.AspNet.Mvc.ApplicationModels.IApplicationModelConvention.yml)
in [Microsoft.AspNet.Mvc.MvcOptions](Microsoft.AspNet.Mvc.MvcOptions.yml).
:param conventions: The list of [Microsoft.AspNet.Mvc.ApplicationModels.IApplicationModelConvention](Microsoft.AspNet.Mvc.ApplicationModels.IApplicationModelConvention.yml) in [Microsoft.AspNet.Mvc.MvcOptions](Microsoft.AspNet.Mvc.MvcOptions.yml).
:param actionModelConvention: The [Microsoft.AspNet.Mvc.ApplicationModels.IActionModelConvention](Microsoft.AspNet.Mvc.ApplicationModels.IActionModelConvention.yml) which needs to be
added.
:param actionModelConvention: The [Microsoft.AspNet.Mvc.ApplicationModels.IActionModelConvention](Microsoft.AspNet.Mvc.ApplicationModels.IActionModelConvention.yml) which needs to be added.
Adds a [Microsoft.AspNet.Mvc.ApplicationModels.IControllerModelConvention](Microsoft.AspNet.Mvc.ApplicationModels.IControllerModelConvention.yml) to all the controllers in the application.
:param conventions: The list of [Microsoft.AspNet.Mvc.ApplicationModels.IApplicationModelConvention](Microsoft.AspNet.Mvc.ApplicationModels.IApplicationModelConvention.yml)
in [Microsoft.AspNet.Mvc.MvcOptions](Microsoft.AspNet.Mvc.MvcOptions.yml).
:param conventions: The list of [Microsoft.AspNet.Mvc.ApplicationModels.IApplicationModelConvention](Microsoft.AspNet.Mvc.ApplicationModels.IApplicationModelConvention.yml) in [Microsoft.AspNet.Mvc.MvcOptions](Microsoft.AspNet.Mvc.MvcOptions.yml).
:param controllerModelConvention: The [Microsoft.AspNet.Mvc.ApplicationModels.IControllerModelConvention](Microsoft.AspNet.Mvc.ApplicationModels.IControllerModelConvention.yml) which needs to be
added.
:param controllerModelConvention: The [Microsoft.AspNet.Mvc.ApplicationModels.IControllerModelConvention](Microsoft.AspNet.Mvc.ApplicationModels.IControllerModelConvention.yml) which needs to be added.
a new [Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel](Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel.yml) instance with the result.
:param left: The left [Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel](Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel.yml).
:return: A new instance of [Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel](Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel.yml) that represents the
combination of the two [Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel](Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel.yml) instances or
<c>null</c> if both
parameters are
<c>null</c>.
:return: A new instance of [Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel](Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel.yml) that represents the combination of the two [Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel](Microsoft.AspNet.Mvc.ApplicationModels.AttributeRouteModel.yml) instances or <c>null</c> if both parameters are <c>null</c>.
Creates the [Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel](Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel.yml) instances for the given action [System.Reflection.MethodInfo]().
:param typeInfo: The controller [System.Reflection.TypeInfo]().
:type typeInfo: System.Reflection.TypeInfo
:param methodInfo: The action [System.Reflection.MethodInfo]().
:return: A set of [Microsoft.AspNet.Mvc.ApplicationModels.ActionModel](Microsoft.AspNet.Mvc.ApplicationModels.ActionModel.yml) instances for the given action [System.Reflection.MethodInfo]() or
<c>null</c> if the
<paramref name="methodInfo" /> does not represent an action.
:return: A set of [Microsoft.AspNet.Mvc.ApplicationModels.ActionModel](Microsoft.AspNet.Mvc.ApplicationModels.ActionModel.yml) instances for the given action [System.Reflection.MethodInfo]() or <c>null</c> if the <paramref name="methodInfo" /> does not represent an action.
.. code-block:: csharp
@ -117,13 +123,13 @@ Methods
Creates the [Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel](Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel.yml) instances for the given controller [System.Reflection.TypeInfo]().
:param typeInfo: The controller [System.Reflection.TypeInfo]().
:return: A set of [Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel](Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel.yml) instances for the given controller [System.Reflection.TypeInfo]() or
<c>null</c> if the
<paramref name="typeInfo" /> does not represent a controller.
:return: A set of [Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel](Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel.yml) instances for the given controller [System.Reflection.TypeInfo]() or <c>null</c> if the <paramref name="typeInfo" /> does not represent a controller.
.. code-block:: csharp
@ -137,9 +143,15 @@ Methods
Creates an [Microsoft.AspNet.Mvc.ApplicationModels.ActionModel](Microsoft.AspNet.Mvc.ApplicationModels.ActionModel.yml) for the given [System.Reflection.MethodInfo]().
:param methodInfo: The [System.Reflection.MethodInfo]().
:type methodInfo: System.Reflection.MethodInfo
:param attributes: The set of attributes to use as metadata.
:return: An [Microsoft.AspNet.Mvc.ApplicationModels.ActionModel](Microsoft.AspNet.Mvc.ApplicationModels.ActionModel.yml) for the given [System.Reflection.MethodInfo]().
@ -156,7 +168,10 @@ Methods
Creates a [Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel](Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel.yml) for the given [System.Reflection.TypeInfo]().
:param typeInfo: The [System.Reflection.TypeInfo]().
:return: A [Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel](Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel.yml) for the given [System.Reflection.TypeInfo]().
@ -173,7 +188,10 @@ Methods
Creates a [Microsoft.AspNet.Mvc.ApplicationModels.ParameterModel](Microsoft.AspNet.Mvc.ApplicationModels.ParameterModel.yml) for the given [System.Reflection.ParameterInfo]().
:param parameterInfo: The [System.Reflection.ParameterInfo]().
:return: A [Microsoft.AspNet.Mvc.ApplicationModels.ParameterModel](Microsoft.AspNet.Mvc.ApplicationModels.ParameterModel.yml) for the given [System.Reflection.ParameterInfo]().
@ -190,7 +208,10 @@ Methods
Creates a [Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel](Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel.yml) for the given [System.Reflection.PropertyInfo]().
:param propertyInfo: The [System.Reflection.PropertyInfo]().
:return: A [Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel](Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel.yml) for the given [System.Reflection.PropertyInfo]().
@ -210,14 +231,18 @@ Methods
<c>false</c>.
:param typeInfo: The [System.Reflection.TypeInfo]().
:type typeInfo: System.Reflection.TypeInfo
:param methodInfo: The [System.Reflection.MethodInfo]().
:type methodInfo: System.Reflection.MethodInfo
:rtype: System.Boolean
:return: <c>true</c> if the
<paramref name="methodInfo" /> is an action. Otherwise
<c>false</c>.
:return: <c>true</c> if the <paramref name="methodInfo" /> is an action. Otherwise <c>false</c>.
Called to apply the convention to the [Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel](Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel.yml).
:param application: The [Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel](Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel.yml).
Executed for the second pass of [Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel](Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel.yml) building. See [Microsoft.AspNet.Mvc.ApplicationModels.IApplicationModelProvider.Order](Microsoft.AspNet.Mvc.ApplicationModels.IApplicationModelProvider.yml).
:param context: The [Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModelProviderContext](Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModelProviderContext.yml).
Executed for the first pass of [Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel](Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel.yml) building. See [Microsoft.AspNet.Mvc.ApplicationModels.IApplicationModelProvider.Order](Microsoft.AspNet.Mvc.ApplicationModels.IApplicationModelProvider.yml).
:param context: The [Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModelProviderContext](Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModelProviderContext.yml).
Called to apply the convention to the [Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel](Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel.yml).
:param controller: The [Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel](Microsoft.AspNet.Mvc.ApplicationModels.ControllerModel.yml).
Called to apply the convention to the [Microsoft.AspNet.Mvc.ApplicationModels.ParameterModel](Microsoft.AspNet.Mvc.ApplicationModels.ParameterModel.yml).
:param parameter: The [Microsoft.AspNet.Mvc.ApplicationModels.ParameterModel](Microsoft.AspNet.Mvc.ApplicationModels.ParameterModel.yml).
Creats a new instance of [Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel](Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel.yml) from a given [Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel](Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel.yml).
:param other: The [Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel](Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel.yml) which needs to be copied.
Creates a new instance of [Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel](Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel.yml).
:param propertyInfo: The [Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel.PropertyInfo](Microsoft.AspNet.Mvc.ApplicationModels.PropertyModel.yml) for the underlying property.
:return: The created [Microsoft.AspNet.Mvc.CreatedAtRouteResult](Microsoft.AspNet.Mvc.CreatedAtRouteResult.yml) for the response.
@ -464,9 +527,15 @@ Methods
Creates a [Microsoft.AspNet.Mvc.CreatedAtRouteResult](Microsoft.AspNet.Mvc.CreatedAtRouteResult.yml) object that produces a Created (201) response.
:param routeValues: The route data to use for generating the URL.
:type routeValues: System.Object
:param value: The content value to format in the entity body.
:type value: System.Object
:rtype: Microsoft.AspNet.Mvc.CreatedAtRouteResult
:return: The created [Microsoft.AspNet.Mvc.CreatedAtRouteResult](Microsoft.AspNet.Mvc.CreatedAtRouteResult.yml) for the response.
@ -483,9 +552,15 @@ Methods
Creates a [Microsoft.AspNet.Mvc.CreatedAtRouteResult](Microsoft.AspNet.Mvc.CreatedAtRouteResult.yml) object that produces a Created (201) response.
:param routeName: The name of the route to use for generating the URL.
:type routeName: System.String
:param value: The content value to format in the entity body.
:type value: System.Object
:rtype: Microsoft.AspNet.Mvc.CreatedAtRouteResult
:return: The created [Microsoft.AspNet.Mvc.CreatedAtRouteResult](Microsoft.AspNet.Mvc.CreatedAtRouteResult.yml) for the response.
@ -502,11 +577,20 @@ Methods
Creates a [Microsoft.AspNet.Mvc.CreatedAtRouteResult](Microsoft.AspNet.Mvc.CreatedAtRouteResult.yml) object that produces a Created (201) response.
:param routeName: The name of the route to use for generating the URL.
:type routeName: System.String
:param routeValues: The route data to use for generating the URL.
:type routeValues: System.Object
:param value: The content value to format in the entity body.
:type value: System.Object
:rtype: Microsoft.AspNet.Mvc.CreatedAtRouteResult
:return: The created [Microsoft.AspNet.Mvc.CreatedAtRouteResult](Microsoft.AspNet.Mvc.CreatedAtRouteResult.yml) for the response.
@ -532,9 +616,10 @@ Methods
Releases all resources currently used by this [Microsoft.AspNet.Mvc.Controller](Microsoft.AspNet.Mvc.Controller.yml) instance.
:param disposing: <c>true</c> if this method is being invoked by the [Microsoft.AspNet.Mvc.Controller.Dispose](Microsoft.AspNet.Mvc.Controller.yml) method,
otherwise
<c>false</c>.
:param disposing: <c>true</c> if this method is being invoked by the [Microsoft.AspNet.Mvc.Controller.Dispose](Microsoft.AspNet.Mvc.Controller.yml) method, otherwise <c>false</c>.
:type disposing: System.Boolean
@ -552,9 +637,15 @@ Methods
<paramref name="contentType" /> as the Content-Type.
:param fileContents: The file contents.
:type fileContents: System.Byte[]
:param contentType: The Content-Type of the file.
:type contentType: System.String
:rtype: Microsoft.AspNet.Mvc.FileContentResult
:return: The created [Microsoft.AspNet.Mvc.FileContentResult](Microsoft.AspNet.Mvc.FileContentResult.yml) for the response.
@ -576,11 +667,20 @@ Methods
<paramref name="fileDownloadName" /> as the suggested file name.
:param fileContents: The file contents.
:type fileContents: System.Byte[]
:param contentType: The Content-Type of the file.
:type contentType: System.String
:param fileDownloadName: The suggested file name.
:type fileDownloadName: System.String
:rtype: Microsoft.AspNet.Mvc.FileContentResult
:return: The created [Microsoft.AspNet.Mvc.FileContentResult](Microsoft.AspNet.Mvc.FileContentResult.yml) for the response.
@ -600,9 +700,15 @@ Methods
<paramref name="contentType" /> as the Content-Type.
:param fileStream: The [System.IO.Stream]() with the contents of the file.
:type fileStream: System.IO.Stream
:param contentType: The Content-Type of the file.
:type contentType: System.String
:rtype: Microsoft.AspNet.Mvc.FileStreamResult
:return: The created [Microsoft.AspNet.Mvc.FileStreamResult](Microsoft.AspNet.Mvc.FileStreamResult.yml) for the response.
@ -624,11 +730,20 @@ Methods
<paramref name="fileDownloadName" /> as the suggested file name.
:param fileStream: The [System.IO.Stream]() with the contents of the file.
:type fileStream: System.IO.Stream
:param contentType: The Content-Type of the file.
:type contentType: System.String
:param fileDownloadName: The suggested file name.
:type fileDownloadName: System.String
:rtype: Microsoft.AspNet.Mvc.FileStreamResult
:return: The created [Microsoft.AspNet.Mvc.FileStreamResult](Microsoft.AspNet.Mvc.FileStreamResult.yml) for the response.
@ -648,9 +763,15 @@ Methods
<paramref name="contentType" /> as the Content-Type.
:param fileName: The [System.IO.Stream]() with the contents of the file.
:type fileName: System.String
:param contentType: The Content-Type of the file.
:type contentType: System.String
:rtype: Microsoft.AspNet.Mvc.FilePathResult
:return: The created [Microsoft.AspNet.Mvc.FilePathResult](Microsoft.AspNet.Mvc.FilePathResult.yml) for the response.
@ -672,11 +793,20 @@ Methods
<paramref name="fileDownloadName" /> as the suggested file name.
:param fileName: The [System.IO.Stream]() with the contents of the file.
:type fileName: System.String
:param contentType: The Content-Type of the file.
:type contentType: System.String
:param fileDownloadName: The suggested file name.
:type fileDownloadName: System.String
:rtype: Microsoft.AspNet.Mvc.FilePathResult
:return: The created [Microsoft.AspNet.Mvc.FilePathResult](Microsoft.AspNet.Mvc.FilePathResult.yml) for the response.
@ -708,7 +838,10 @@ Methods
Creates an [Microsoft.AspNet.Mvc.BadRequestObjectResult](Microsoft.AspNet.Mvc.BadRequestObjectResult.yml) that produces a Bad Request (400) response.
:return: The created [Microsoft.AspNet.Mvc.BadRequestObjectResult](Microsoft.AspNet.Mvc.BadRequestObjectResult.yml) for the response.
@ -757,7 +893,10 @@ Methods
Creates an [Microsoft.AspNet.Mvc.HttpNotFoundObjectResult](Microsoft.AspNet.Mvc.HttpNotFoundObjectResult.yml) that produces a Not Found (404) response.
:return: The created [Microsoft.AspNet.Mvc.HttpNotFoundObjectResult](Microsoft.AspNet.Mvc.HttpNotFoundObjectResult.yml) for the response.
@ -791,12 +930,13 @@ Methods
to JSON.
:param data: The object to serialize.
:type data: System.Object
:rtype: Microsoft.AspNet.Mvc.JsonResult
:return: The created [Microsoft.AspNet.Mvc.JsonResult](Microsoft.AspNet.Mvc.JsonResult.yml) that serializes the specified
<paramref name="data" />
to JSON format for the response.
:return: The created [Microsoft.AspNet.Mvc.JsonResult](Microsoft.AspNet.Mvc.JsonResult.yml) that serializes the specified <paramref name="data" /> to JSON format for the response.
.. code-block:: csharp
@ -812,15 +952,18 @@ Methods
to JSON.
:param data: The object to serialize.
:type data: System.Object
:param serializerSettings: The @!:JsonSerializerSettings- to be used by
the formatter.
:param serializerSettings: The @!:JsonSerializerSettings- to be used by the formatter.
:type serializerSettings: JsonSerializerSettings
:rtype: Microsoft.AspNet.Mvc.JsonResult
:return: The created [Microsoft.AspNet.Mvc.JsonResult](Microsoft.AspNet.Mvc.JsonResult.yml) that serializes the specified
<paramref name="data" />
as JSON format for the response.
:return: The created [Microsoft.AspNet.Mvc.JsonResult](Microsoft.AspNet.Mvc.JsonResult.yml) that serializes the specified <paramref name="data" /> as JSON format for the response.
:param next: The [Microsoft.AspNet.Mvc.ActionExecutionDelegate]() to execute. Invoke this delegate in the body
of [Microsoft.AspNet.Mvc.Controller.OnActionExecutionAsync(Microsoft.AspNet.Mvc.ActionExecutingContext,Microsoft.AspNet.Mvc.ActionExecutionDelegate)](Microsoft.AspNet.Mvc.Controller.yml) to continue execution of the action.
:param next: The [Microsoft.AspNet.Mvc.ActionExecutionDelegate]() to execute. Invoke this delegate in the body of [Microsoft.AspNet.Mvc.Controller.OnActionExecutionAsync(Microsoft.AspNet.Mvc.ActionExecutingContext,Microsoft.AspNet.Mvc.ActionExecutionDelegate)](Microsoft.AspNet.Mvc.Controller.yml) to continue execution of the action.
:param includeExpressions: [System.Linq.Expressions.Expression]()(s) which represent top-level properties
which need to be included for the current model.
:param includeExpressions: [System.Linq.Expressions.Expression]()(s) which represent top-level properties which need to be included for the current model.
:return: A [System.Threading.Tasks.Task]() that on completion returns
<c>true</c> if the update is successful
:return: A [System.Threading.Tasks.Task]() that on completion returns <c>true</c> if the update is successful
.. code-block:: csharp
@ -1502,16 +1808,23 @@ Methods
<paramref name="prefix" />.
:param model: The model instance to update.
:type model: TModel
:param prefix: The prefix to use when looking up values in the current [Microsoft.AspNet.Mvc.ModelBinding.IValueProvider]().
:type prefix: System.String
:param includeExpressions: [System.Linq.Expressions.Expression]()(s) which represent top-level properties
which need to be included for the current model.
:param includeExpressions: [System.Linq.Expressions.Expression]()(s) which represent top-level properties which need to be included for the current model.
Creates instances of [Microsoft.AspNet.Mvc.ControllerActionDescriptor](Microsoft.AspNet.Mvc.ControllerActionDescriptor.yml) from [Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel](Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel.yml).
:param application: The [Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel](Microsoft.AspNet.Mvc.ApplicationModels.ApplicationModel.yml).
Initializes a new instance of the [Microsoft.AspNet.Mvc.Core.DefaultActionDescriptorsCollectionProvider](Microsoft.AspNet.Mvc.Core.DefaultActionDescriptorsCollectionProvider.yml) class.
:param serviceProvider: The application IServiceProvider.