Compartilhar via


JsonPatchDocument<TModel>.Move Método

Definição

Sobrecargas

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

Mover de uma posição em uma lista para outro local em uma lista

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

Mover de uma posição em uma lista para um novo local

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

Mover de uma posição em uma lista para o final de outra lista

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

Mover de uma propriedade para um local em uma lista

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

Mover para o final de uma lista

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

Remove o valor no local especificado e o adiciona ao local de destino. Resultará em, por exemplo: { "op": "move", "from": "/a/b/c", "path": "/a/b/d" }

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

Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs

Mover de uma posição em uma lista para outro local em uma lista

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)

Parâmetros de tipo

TProp

Parâmetros

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

local de origem

positionFrom
Int32

position (origem)

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

local de destino

positionTo
Int32

position (destino)

Retornos

O JsonPatchDocument<TModel> para encadeamento.

Aplica-se a

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

Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs

Mover de uma posição em uma lista para um novo local

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)

Parâmetros de tipo

TProp

Parâmetros

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

local de origem

positionFrom
Int32

position

path
Expression<Func<TModel,TProp>>

local de destino

Retornos

O JsonPatchDocument<TModel> para encadeamento.

Aplica-se a

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

Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs

Mover de uma posição em uma lista para o final de outra lista

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)

Parâmetros de tipo

TProp

Parâmetros

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

local de origem

positionFrom
Int32

position

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

local de destino

Retornos

O JsonPatchDocument<TModel> para encadeamento.

Aplica-se a

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

Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs

Mover de uma propriedade para um local em uma lista

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)

Parâmetros de tipo

TProp

Parâmetros

from
Expression<Func<TModel,TProp>>

local de origem

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

local de destino

positionTo
Int32

position

Retornos

O JsonPatchDocument<TModel> para encadeamento.

Aplica-se a

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

Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs

Mover para o final de uma lista

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)

Parâmetros de tipo

TProp

Parâmetros

from
Expression<Func<TModel,TProp>>

local de origem

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

local de destino

Retornos

O JsonPatchDocument<TModel> para encadeamento.

Aplica-se a

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

Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs
Origem:
JsonPatchDocumentOfT.cs

Remove o valor no local especificado e o adiciona ao local de destino. Resultará em, por exemplo: { "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)

Parâmetros de tipo

TProp

Parâmetros

from
Expression<Func<TModel,TProp>>

local de origem

path
Expression<Func<TModel,TProp>>

local de destino

Retornos

O JsonPatchDocument<TModel> para encadeamento.

Aplica-se a