JsonPatchExtensions.ApplyTo Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary) |
Nesneye JSON düzeltme eki işlemleri uygular ve içindeki ModelStateDictionaryhataları günlüğe kaydeder. |
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary, String) |
Nesneye JSON düzeltme eki işlemleri uygular ve içindeki ModelStateDictionaryhataları günlüğe kaydeder. |
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary)
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
Nesneye JSON düzeltme eki işlemleri uygular ve içindeki ModelStateDictionaryhataları günlüğe kaydeder.
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ür Parametreleri
- T
Parametreler
- patchDoc
- JsonPatchDocument<T>
- objectToApplyTo
- T
Uygulanan JsonPatchDocument<TModel> varlık.
- modelState
- ModelStateDictionary
ModelStateDictionary hata eklemek için.
Şunlara uygulanır
ApplyTo<T>(JsonPatchDocument<T>, T, ModelStateDictionary, String)
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
- Kaynak:
- JsonPatchExtensions.cs
Nesneye JSON düzeltme eki işlemleri uygular ve içindeki ModelStateDictionaryhataları günlüğe kaydeder.
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ür Parametreleri
- T
Parametreler
- patchDoc
- JsonPatchDocument<T>
- objectToApplyTo
- T
Uygulanan JsonPatchDocument<TModel> varlık.
- modelState
- ModelStateDictionary
ModelStateDictionary hata eklemek için.
- prefix
- String
içindeki ModelStateDictionarydeğerleri ararken kullanılacak ön ek.
Şunlara uygulanır
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin