Condividi tramite


MethodCallCodeFragment Costruttori

Definizione

Overload

MethodCallCodeFragment(MethodInfo, Object[])

Inizializza una nuova istanza della classe MethodCallCodeFragment.

MethodCallCodeFragment(String, Object[])
Obsoleti.

Inizializza una nuova istanza della classe MethodCallCodeFragment.

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

Inizializza una nuova istanza della classe MethodCallCodeFragment.

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

Inizializza una nuova istanza della classe MethodCallCodeFragment.

MethodCallCodeFragment(MethodInfo, Object[])

Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs

Inizializza una nuova istanza della 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())

Parametri

methodInfo
MethodInfo

Il metodo è MethodInfo.

arguments
Object[]

Argomenti della chiamata al metodo. Può essere NestedClosureCodeFragment.

Si applica a

MethodCallCodeFragment(String, Object[])

Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs

Attenzione

Use the overload accepting a MethodInfo

Inizializza una nuova istanza della 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())

Parametri

method
String

Nome del metodo.

arguments
Object[]

Argomenti della chiamata al metodo. Può essere un frammento come NestedClosureCodeFragment o PropertyAccessorCodeFragment.

Attributi

Si applica a

MethodCallCodeFragment(MethodInfo, Object[], MethodCallCodeFragment)

Origine:
MethodCallCodeFragment.cs

Attenzione

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

Inizializza una nuova istanza della 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)

Parametri

methodInfo
MethodInfo

Il metodo è MethodInfo.

arguments
Object[]

Argomenti della chiamata al metodo. Può essere NestedClosureCodeFragment.

chainedCall
MethodCallCodeFragment

La chiamata del metodo successivo alla catena dopo questa operazione.

Attributi

Si applica a

MethodCallCodeFragment(String, Object[], MethodCallCodeFragment)

Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs
Origine:
MethodCallCodeFragment.cs

Attenzione

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

Inizializza una nuova istanza della 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)

Parametri

method
String

Nome del metodo.

arguments
Object[]

Argomenti della chiamata al metodo. Può essere NestedClosureCodeFragment.

chainedCall
MethodCallCodeFragment

La chiamata del metodo successivo alla catena dopo questa operazione.

Attributi

Si applica a