JsonPatchDocument<TModel>.Move メソッド

定義

オーバーロード

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

リスト内の位置からリスト内の別の場所に移動する

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

リスト内の位置から新しい場所に移動する

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

リスト内の位置から別のリストの末尾に移動する

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

プロパティからリスト内の場所に移動する

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

リストの末尾に移動する

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

指定した場所にある値を削除し、ターゲットの場所に追加します。 次のような結果になります。 { "op": "move", "from": "/a/b/c", "path": "/a/b/d" }

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

リスト内の位置からリスト内の別の場所に移動する

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Move(System::Linq::Expressions::Expression<Func<TModel, System::Collections::Generic::IList<TProp> ^> ^> ^ from, int positionFrom, System::Linq::Expressions::Expression<Func<TModel, System::Collections::Generic::IList<TProp> ^> ^> ^ path, int positionTo);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Move<TProp> (System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> from, int positionFrom, System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> path, int positionTo);
member this.Move : System.Linq.Expressions.Expression<Func<'Model, System.Collections.Generic.IList<'Prop>>> * int * System.Linq.Expressions.Expression<Func<'Model, System.Collections.Generic.IList<'Prop>>> * int -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Move(Of TProp) (from As Expression(Of Func(Of TModel, IList(Of TProp))), positionFrom As Integer, path As Expression(Of Func(Of TModel, IList(Of TProp))), positionTo As Integer) As JsonPatchDocument(Of TModel)

型パラメーター

TProp

パラメーター

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

ソースの場所

positionFrom
Int32

position (source)

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

ターゲットの場所

positionTo
Int32

position (target)

戻り値

チェーン用の JsonPatchDocument<TModel>

適用対象

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

リスト内の位置から新しい場所に移動する

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Move(System::Linq::Expressions::Expression<Func<TModel, System::Collections::Generic::IList<TProp> ^> ^> ^ from, int positionFrom, System::Linq::Expressions::Expression<Func<TModel, TProp> ^> ^ path);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Move<TProp> (System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> from, int positionFrom, System.Linq.Expressions.Expression<Func<TModel,TProp>> path);
member this.Move : System.Linq.Expressions.Expression<Func<'Model, System.Collections.Generic.IList<'Prop>>> * int * System.Linq.Expressions.Expression<Func<'Model, 'Prop>> -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Move(Of TProp) (from As Expression(Of Func(Of TModel, IList(Of TProp))), positionFrom As Integer, path As Expression(Of Func(Of TModel, TProp))) As JsonPatchDocument(Of TModel)

型パラメーター

TProp

パラメーター

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

ソースの場所

positionFrom
Int32

position

path
Expression<Func<TModel,TProp>>

ターゲットの場所

戻り値

チェーン用の JsonPatchDocument<TModel>

適用対象

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

リスト内の位置から別のリストの末尾に移動する

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Move(System::Linq::Expressions::Expression<Func<TModel, System::Collections::Generic::IList<TProp> ^> ^> ^ from, int positionFrom, System::Linq::Expressions::Expression<Func<TModel, System::Collections::Generic::IList<TProp> ^> ^> ^ path);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Move<TProp> (System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> from, int positionFrom, System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> path);
member this.Move : System.Linq.Expressions.Expression<Func<'Model, System.Collections.Generic.IList<'Prop>>> * int * System.Linq.Expressions.Expression<Func<'Model, System.Collections.Generic.IList<'Prop>>> -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Move(Of TProp) (from As Expression(Of Func(Of TModel, IList(Of TProp))), positionFrom As Integer, path As Expression(Of Func(Of TModel, IList(Of TProp)))) As JsonPatchDocument(Of TModel)

型パラメーター

TProp

パラメーター

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

ソースの場所

positionFrom
Int32

position

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

ターゲットの場所

戻り値

チェーン用の JsonPatchDocument<TModel>

適用対象

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

プロパティからリスト内の場所に移動する

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Move(System::Linq::Expressions::Expression<Func<TModel, TProp> ^> ^ from, System::Linq::Expressions::Expression<Func<TModel, System::Collections::Generic::IList<TProp> ^> ^> ^ path, int positionTo);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Move<TProp> (System.Linq.Expressions.Expression<Func<TModel,TProp>> from, System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> path, int positionTo);
member this.Move : System.Linq.Expressions.Expression<Func<'Model, 'Prop>> * System.Linq.Expressions.Expression<Func<'Model, System.Collections.Generic.IList<'Prop>>> * int -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Move(Of TProp) (from As Expression(Of Func(Of TModel, TProp)), path As Expression(Of Func(Of TModel, IList(Of TProp))), positionTo As Integer) As JsonPatchDocument(Of TModel)

型パラメーター

TProp

パラメーター

from
Expression<Func<TModel,TProp>>

ソースの場所

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

ターゲットの場所

positionTo
Int32

position

戻り値

チェーン用の JsonPatchDocument<TModel>

適用対象

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

リストの末尾に移動する

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Move(System::Linq::Expressions::Expression<Func<TModel, TProp> ^> ^ from, System::Linq::Expressions::Expression<Func<TModel, System::Collections::Generic::IList<TProp> ^> ^> ^ path);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Move<TProp> (System.Linq.Expressions.Expression<Func<TModel,TProp>> from, System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> path);
member this.Move : System.Linq.Expressions.Expression<Func<'Model, 'Prop>> * System.Linq.Expressions.Expression<Func<'Model, System.Collections.Generic.IList<'Prop>>> -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Move(Of TProp) (from As Expression(Of Func(Of TModel, TProp)), path As Expression(Of Func(Of TModel, IList(Of TProp)))) As JsonPatchDocument(Of TModel)

型パラメーター

TProp

パラメーター

from
Expression<Func<TModel,TProp>>

ソースの場所

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

ターゲットの場所

戻り値

チェーン用の JsonPatchDocument<TModel>

適用対象

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

指定した場所にある値を削除し、ターゲットの場所に追加します。 次のような結果になります。 { "op": "move", "from": "/a/b/c", "path": "/a/b/d" }

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Move(System::Linq::Expressions::Expression<Func<TModel, TProp> ^> ^ from, System::Linq::Expressions::Expression<Func<TModel, TProp> ^> ^ path);
public Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<TModel> Move<TProp> (System.Linq.Expressions.Expression<Func<TModel,TProp>> from, System.Linq.Expressions.Expression<Func<TModel,TProp>> path);
member this.Move : System.Linq.Expressions.Expression<Func<'Model, 'Prop>> * System.Linq.Expressions.Expression<Func<'Model, 'Prop>> -> Microsoft.AspNetCore.JsonPatch.JsonPatchDocument<'Model (requires 'Model : null)>
Public Function Move(Of TProp) (from As Expression(Of Func(Of TModel, TProp)), path As Expression(Of Func(Of TModel, TProp))) As JsonPatchDocument(Of TModel)

型パラメーター

TProp

パラメーター

from
Expression<Func<TModel,TProp>>

ソースの場所

path
Expression<Func<TModel,TProp>>

ターゲットの場所

戻り値

チェーン用の JsonPatchDocument<TModel>

適用対象