JsonPatchDocument<TModel>.Test メソッド

定義

オーバーロード

Test<TProp>(Expression<Func<TModel,IList<TProp>>>, TProp)

リストの末尾にあるテスト値

Test<TProp>(Expression<Func<TModel,IList<TProp>>>, TProp, Int32)

指定された位置にあるリスト内のテスト値

Test<TProp>(Expression<Func<TModel,TProp>>, TProp)

テスト値。 {"op": "test", "path": "/a/b/c", "value": 42 } のようになります。

Test<TProp>(Expression<Func<TModel,IList<TProp>>>, TProp)

リストの末尾にあるテスト値

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)

型パラメーター

TProp

値型

パラメーター

path
Expression<Func<TModel,IList<TProp>>>

ターゲットの場所

value
TProp

value

戻り値

チェーン用の JsonPatchDocument<TModel>

適用対象

Test<TProp>(Expression<Func<TModel,IList<TProp>>>, TProp, Int32)

指定された位置にあるリスト内のテスト値

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)

型パラメーター

TProp

値型

パラメーター

path
Expression<Func<TModel,IList<TProp>>>

ターゲットの場所

value
TProp

value

position
Int32

position

戻り値

チェーン用の JsonPatchDocument<TModel>

適用対象

Test<TProp>(Expression<Func<TModel,TProp>>, TProp)

テスト値。 {"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)

型パラメーター

TProp

パラメーター

path
Expression<Func<TModel,TProp>>

ターゲットの場所

value
TProp

value

戻り値

チェーン用の JsonPatchDocument<TModel>

適用対象