Compartir a través de


MethodCallCodeFragment Constructores

Definición

Sobrecargas

MethodCallCodeFragment(MethodInfo, Object[])

Inicializa una nueva instancia de la clase MethodCallCodeFragment.

MethodCallCodeFragment(String, Object[])
Obsoletos.

Inicializa una nueva instancia de la clase MethodCallCodeFragment.

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

Inicializa una nueva instancia de la clase MethodCallCodeFragment.

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

Inicializa una nueva instancia de la clase MethodCallCodeFragment.

MethodCallCodeFragment(MethodInfo, Object[])

Inicializa una nueva instancia de la clase 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

El método es MethodInfo.

arguments
Object[]

Argumentos de la llamada al método. Puede ser NestedClosureCodeFragment.

Se aplica a

MethodCallCodeFragment(String, Object[])

Precaución

Use the overload accepting a MethodInfo

Inicializa una nueva instancia de la clase 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

Nombre del método.

arguments
Object[]

Argumentos de la llamada al método. Puede ser un fragmento como NestedClosureCodeFragment o PropertyAccessorCodeFragment.

Atributos

Se aplica a

MethodCallCodeFragment(MethodInfo, Object[], MethodCallCodeFragment)

Precaución

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

Inicializa una nueva instancia de la clase 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

El método es MethodInfo.

arguments
Object[]

Argumentos de la llamada al método. Puede ser NestedClosureCodeFragment.

chainedCall
MethodCallCodeFragment

La siguiente llamada al método a encadenar después de esto.

Atributos

Se aplica a

MethodCallCodeFragment(String, Object[], MethodCallCodeFragment)

Precaución

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

Inicializa una nueva instancia de la clase 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

Nombre del método.

arguments
Object[]

Argumentos de la llamada al método. Puede ser NestedClosureCodeFragment.

chainedCall
MethodCallCodeFragment

La siguiente llamada al método a encadenar después de esto.

Atributos

Se aplica a