JsonPatchExtensions.ApplyTo Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary) |
Menerapkan operasi patch JSON pada kesalahan objek dan log di ModelStateDictionary. |
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary, String) |
Menerapkan operasi patch JSON pada kesalahan objek dan log di ModelStateDictionary. |
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary)
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
Menerapkan operasi patch JSON pada kesalahan objek dan log di 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)
Jenis parameter
- T
Parameter
- patchDoc
- JsonPatchDocument<T>
- objectToApplyTo
- T
Entitas tempat JsonPatchDocument<TModel> diterapkan.
- modelState
- ModelStateDictionary
ModelStateDictionary untuk menambahkan kesalahan.
Berlaku untuk
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary, String)
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
- Sumber:
- JsonPatchExtensions.cs
Menerapkan operasi patch JSON pada kesalahan objek dan log di 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)
Jenis parameter
- T
Parameter
- patchDoc
- JsonPatchDocument<T>
- objectToApplyTo
- T
Entitas tempat JsonPatchDocument<TModel> diterapkan.
- modelState
- ModelStateDictionary
ModelStateDictionary untuk menambahkan kesalahan.
- prefix
- String
Awalan yang digunakan saat mencari nilai di ModelStateDictionary.