JsonPatchDocument<TModel>.Test Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Test<TProp>(Expression<Func<TModel,IList<TProp>>>, TProp) |
Valeur de test à la fin d’une liste |
Test<TProp>(Expression<Func<TModel,IList<TProp>>>, TProp, Int32) |
Valeur de test dans une liste à une position donnée |
Test<TProp>(Expression<Func<TModel,TProp>>, TProp) |
Valeur de test. Entraîne, par exemple, { « op »: « test », « path »: « /a/b/c », « value »: 42 } |
Test<TProp>(Expression<Func<TModel,IList<TProp>>>, TProp)
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
Valeur de test à la fin d’une liste
public:
generic <typename TProp>
Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Test(System::Linq::Expressions::Expression<Func<TModel, System::Collections::Generic::IList<TProp> ^> ^> ^ path, TProp value);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Test<TProp> (System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> path, TProp value);
member this.Test : System.Linq.Expressions.Expression<Func<'Model, System.Collections.Generic.IList<'Prop>>> * 'Prop -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Test(Of TProp) (path As Expression(Of Func(Of TModel, IList(Of TProp))), value As TProp) As JsonPatchDocument(Of TModel)
Paramètres de type
- TProp
type valeur
Paramètres
- path
- Expression<Func<TModel,IList<TProp>>>
emplacement cible
- value
- TProp
value
Retours
JsonPatchDocument<TModel> pour le chaînage.
S’applique à
Test<TProp>(Expression<Func<TModel,IList<TProp>>>, TProp, Int32)
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
Valeur de test dans une liste à une position donnée
public:
generic <typename TProp>
Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Test(System::Linq::Expressions::Expression<Func<TModel, System::Collections::Generic::IList<TProp> ^> ^> ^ path, TProp value, int position);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Test<TProp> (System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> path, TProp value, int position);
member this.Test : System.Linq.Expressions.Expression<Func<'Model, System.Collections.Generic.IList<'Prop>>> * 'Prop * int -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Test(Of TProp) (path As Expression(Of Func(Of TModel, IList(Of TProp))), value As TProp, position As Integer) As JsonPatchDocument(Of TModel)
Paramètres de type
- TProp
type valeur
Paramètres
- path
- Expression<Func<TModel,IList<TProp>>>
emplacement cible
- value
- TProp
value
- position
- Int32
position
Retours
JsonPatchDocument<TModel> pour le chaînage.
S’applique à
Test<TProp>(Expression<Func<TModel,TProp>>, TProp)
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
- Source:
- JsonPatchDocumentOfT.cs
Valeur de test. Entraîne, par exemple, { « op »: « test », « path »: « /a/b/c », « value »: 42 }
public:
generic <typename TProp>
Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Test(System::Linq::Expressions::Expression<Func<TModel, TProp> ^> ^ path, TProp value);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Test<TProp> (System.Linq.Expressions.Expression<Func<TModel,TProp>> path, TProp value);
member this.Test : System.Linq.Expressions.Expression<Func<'Model, 'Prop>> * 'Prop -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Test(Of TProp) (path As Expression(Of Func(Of TModel, TProp)), value As TProp) As JsonPatchDocument(Of TModel)
Paramètres de type
- TProp
Paramètres
- path
- Expression<Func<TModel,TProp>>
emplacement cible
- value
- TProp
value
Retours
JsonPatchDocument<TModel> pour le chaînage.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour