JsonPatchDocument<TModel>.Copy メソッド

定義

オーバーロード

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

リスト内の位置からリスト内の新しい場所にコピーする

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

リスト内の位置から新しい場所にコピーする

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

プロパティからリスト内の場所にコピーする

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

指定した場所にある値をターゲットの場所にコピーします。 次のようになります(例: { "op": "copy", "from": "/a/b/c", "path": "/a/b/e" }

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

リストの末尾にコピーする

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

リスト内の位置から別のリストの末尾にコピーする

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

リスト内の位置からリスト内の新しい場所にコピーする

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Copy(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> Copy<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.Copy : 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 Copy(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 (ソース)

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

ターゲットの場所

positionTo
Int32

position (target)

戻り値

チェーン用の JsonPatchDocument<TModel>

適用対象

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

リスト内の位置から新しい場所にコピーする

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Copy(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> Copy<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.Copy : 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 Copy(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>

適用対象

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

プロパティからリスト内の場所にコピーする

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Copy(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> Copy<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.Copy : 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 Copy(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>

適用対象

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

指定した場所にある値をターゲットの場所にコピーします。 次のようになります(例: { "op": "copy", "from": "/a/b/c", "path": "/a/b/e" }

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

適用対象

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

リストの末尾にコピーする

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Copy(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> Copy<TProp> (System.Linq.Expressions.Expression<Func<TModel,TProp>> from, System.Linq.Expressions.Expression<Func<TModel,System.Collections.Generic.IList<TProp>>> path);
member this.Copy : 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 Copy(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>

適用対象

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

リスト内の位置から別のリストの末尾にコピーする

public:
generic <typename TProp>
 Microsoft::AspNetCore::JsonPatch::JsonPatchDocument<TModel> ^ Copy(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> Copy<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.Copy : 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 Copy(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>

適用対象