Compartilhar via


MethodCallCodeFragment Construtores

Definição

Sobrecargas

MethodCallCodeFragment(MethodInfo, Object[])

Inicializa uma nova instância da classe MethodCallCodeFragment.

MethodCallCodeFragment(String, Object[])
Obsoleto.

Inicializa uma nova instância da classe MethodCallCodeFragment.

MethodCallCodeFragment(MethodInfo, Object[], MethodCallCodeFragment)
Obsoleto.

Inicializa uma nova instância da classe MethodCallCodeFragment.

MethodCallCodeFragment(String, Object[], MethodCallCodeFragment)
Obsoleto.

Inicializa uma nova instância da classe MethodCallCodeFragment.

MethodCallCodeFragment(MethodInfo, Object[])

Inicializa uma nova instância da classe MethodCallCodeFragment.

public MethodCallCodeFragment (System.Reflection.MethodInfo methodInfo, params object?[] arguments);
new Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment : System.Reflection.MethodInfo * obj[] -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Sub New (methodInfo As MethodInfo, ParamArray arguments As Object())

Parâmetros

methodInfo
MethodInfo

O do MethodInfométodo .

arguments
Object[]

Os argumentos da chamada de método. Pode ser NestedClosureCodeFragment.

Aplica-se a

MethodCallCodeFragment(String, Object[])

Cuidado

Use the overload accepting a MethodInfo

Inicializa uma nova instância da classe MethodCallCodeFragment.

public MethodCallCodeFragment (string method, params object[] arguments);
[System.Obsolete("Use the overload accepting a MethodInfo")]
public MethodCallCodeFragment (string method, params object?[] arguments);
public MethodCallCodeFragment (string method, params object?[] arguments);
new Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment : string * obj[] -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
[<System.Obsolete("Use the overload accepting a MethodInfo")>]
new Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment : string * obj[] -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Sub New (method As String, ParamArray arguments As Object())

Parâmetros

method
String

O nome do método.

arguments
Object[]

Os argumentos da chamada de método. Pode ser um fragmento como NestedClosureCodeFragment ou PropertyAccessorCodeFragment.

Atributos

Aplica-se a

MethodCallCodeFragment(MethodInfo, Object[], MethodCallCodeFragment)

Cuidado

Use the constructor without a chained call, and then invoke Chain() on the result

Inicializa uma nova instância da classe MethodCallCodeFragment.

[System.Obsolete("Use the constructor without a chained call, and then invoke Chain() on the result", true)]
public MethodCallCodeFragment (System.Reflection.MethodInfo methodInfo, object?[] arguments, Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment chainedCall);
[<System.Obsolete("Use the constructor without a chained call, and then invoke Chain() on the result", true)>]
new Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment : System.Reflection.MethodInfo * obj[] * Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Sub New (methodInfo As MethodInfo, arguments As Object(), chainedCall As MethodCallCodeFragment)

Parâmetros

methodInfo
MethodInfo

O do MethodInfométodo .

arguments
Object[]

Os argumentos da chamada de método. Pode ser NestedClosureCodeFragment.

chainedCall
MethodCallCodeFragment

A próxima chamada de método para encadear depois disso.

Atributos

Aplica-se a

MethodCallCodeFragment(String, Object[], MethodCallCodeFragment)

Cuidado

Use the overload accepting a MethodInfo, and then invoke Chain on the instance for the chained call

Inicializa uma nova instância da classe MethodCallCodeFragment.

public MethodCallCodeFragment (string method, object[] arguments, Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment chainedCall);
[System.Obsolete("Use the overload accepting a MethodInfo, and then invoke Chain on the instance for the chained call")]
public MethodCallCodeFragment (string method, object?[] arguments, Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment chainedCall);
new Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment : string * obj[] * Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
[<System.Obsolete("Use the overload accepting a MethodInfo, and then invoke Chain on the instance for the chained call")>]
new Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment : string * obj[] * Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Sub New (method As String, arguments As Object(), chainedCall As MethodCallCodeFragment)

Parâmetros

method
String

O nome do método.

arguments
Object[]

Os argumentos da chamada de método. Pode ser NestedClosureCodeFragment.

chainedCall
MethodCallCodeFragment

A próxima chamada de método para encadear depois disso.

Atributos

Aplica-se a