JsonPatchExtensions.ApplyTo Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary) |
Aplica operaciones de revisión JSON en los errores de objetos y registros en ModelStateDictionary. |
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary, String) |
Aplica operaciones de revisión JSON en los errores de objetos y registros en ModelStateDictionary. |
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary)
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
Aplica operaciones de revisión JSON en los errores de objetos y registros en ModelStateDictionary.
public:
generic <typename T>
where T : class[System::Runtime::CompilerServices::Extension]
static void ApplyTo(Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<T> ^ patchDoc, T objectToApplyTo, Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ modelState);
public static void ApplyTo<T> (this Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<T> patchDoc, T objectToApplyTo, Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState) where T : class;
static member ApplyTo : Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'T (requires 'T : null)> * 'T * Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary -> unit (requires 'T : null)
<Extension()>
Public Sub ApplyTo(Of T As Class) (patchDoc As JsonPatchDocument(Of T), objectToApplyTo As T, modelState As ModelStateDictionary)
Parámetros de tipo
- T
Parámetros
- patchDoc
- JsonPatchDocument<T>
- objectToApplyTo
- T
Entidad en la que JsonPatchDocument<TModel> se aplica.
- modelState
- ModelStateDictionary
que ModelStateDictionary se va a agregar errores.
Se aplica a
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary, String)
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
- Source:
- JsonPatchExtensions.cs
Aplica operaciones de revisión JSON en los errores de objetos y registros en ModelStateDictionary.
public:
generic <typename T>
where T : class[System::Runtime::CompilerServices::Extension]
static void ApplyTo(Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<T> ^ patchDoc, T objectToApplyTo, Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ modelState, System::String ^ prefix);
public static void ApplyTo<T> (this Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<T> patchDoc, T objectToApplyTo, Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary modelState, string prefix) where T : class;
static member ApplyTo : Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'T (requires 'T : null)> * 'T * Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary * string -> unit (requires 'T : null)
<Extension()>
Public Sub ApplyTo(Of T As Class) (patchDoc As JsonPatchDocument(Of T), objectToApplyTo As T, modelState As ModelStateDictionary, prefix As String)
Parámetros de tipo
- T
Parámetros
- patchDoc
- JsonPatchDocument<T>
- objectToApplyTo
- T
Entidad en la que JsonPatchDocument<TModel> se aplica.
- modelState
- ModelStateDictionary
que ModelStateDictionary se va a agregar errores.
- prefix
- String
Prefijo que se va a usar al buscar valores en ModelStateDictionary.