Compartir a través de


JsonPatchExtensions.ApplyTo Método

Definición

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

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

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.

Se aplica a