Freigeben über


JsonPatchExtensions.ApplyTo Methode

Definition

Überlädt

ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary)

Wendet JSON-Patchvorgänge auf Objekt an und protokolliert Fehler in ModelStateDictionary.

ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary, String)

Wendet JSON-Patchvorgänge auf Objekt an und protokolliert Fehler in ModelStateDictionary.

ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary)

Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs

Wendet JSON-Patchvorgänge auf Objekt an und protokolliert Fehler in 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)

Typparameter

T

Parameter

objectToApplyTo
T

Die Entität, auf die JsonPatchDocument<TModel> angewendet wird.

modelState
ModelStateDictionary

Die ModelStateDictionary , die Fehler hinzufügen soll.

Gilt für:

ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary, String)

Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs
Quelle:
JsonPatchExtensions.cs

Wendet JSON-Patchvorgänge auf Objekt an und protokolliert Fehler in 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)

Typparameter

T

Parameter

objectToApplyTo
T

Die Entität, auf die JsonPatchDocument<TModel> angewendet wird.

modelState
ModelStateDictionary

Die ModelStateDictionary , die Fehler hinzufügen soll.

prefix
String

Das Präfix, das beim Nachschlagen von Werten in ModelStateDictionaryverwendet werden soll.

Gilt für: