다음을 통해 공유


JsonPatchExtensions.ApplyTo 메서드

정의

오버로드

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

개체에 JSON 패치 작업을 적용하고 의 ModelStateDictionary오류를 기록합니다.

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

개체에 JSON 패치 작업을 적용하고 의 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

개체에 JSON 패치 작업을 적용하고 의 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)

형식 매개 변수

T

매개 변수

objectToApplyTo
T

적용되는 엔터티 JsonPatchDocument<TModel> 입니다.

modelState
ModelStateDictionary

오류를 추가할 입니다 ModelStateDictionary .

적용 대상

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

개체에 JSON 패치 작업을 적용하고 의 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)

형식 매개 변수

T

매개 변수

objectToApplyTo
T

적용되는 엔터티 JsonPatchDocument<TModel> 입니다.

modelState
ModelStateDictionary

오류를 추가할 입니다 ModelStateDictionary .

prefix
String

에서 값을 조회할 때 사용할 접두사입니다 ModelStateDictionary.

적용 대상