Bagikan melalui


MethodCallCodeFragment Konstruktor

Definisi

Overload

MethodCallCodeFragment(MethodInfo, Object[])

Menginisialisasi instans baru kelas MethodCallCodeFragment.

MethodCallCodeFragment(String, Object[])
Kedaluwarsa.

Menginisialisasi instans baru kelas MethodCallCodeFragment.

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

Menginisialisasi instans baru kelas MethodCallCodeFragment.

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

Menginisialisasi instans baru kelas MethodCallCodeFragment.

MethodCallCodeFragment(MethodInfo, Object[])

Menginisialisasi instans baru kelas 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())

Parameter

methodInfo
MethodInfo

Metode ini MethodInfo.

arguments
Object[]

Argumen panggilan metode. Bisa jadi NestedClosureCodeFragment.

Berlaku untuk

MethodCallCodeFragment(String, Object[])

Perhatian

Use the overload accepting a MethodInfo

Menginisialisasi instans baru kelas 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())

Parameter

method
String

Nama metode.

arguments
Object[]

Argumen panggilan metode. Bisa menjadi fragmen seperti NestedClosureCodeFragment atau PropertyAccessorCodeFragment.

Atribut

Berlaku untuk

MethodCallCodeFragment(MethodInfo, Object[], MethodCallCodeFragment)

Perhatian

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

Menginisialisasi instans baru kelas 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)

Parameter

methodInfo
MethodInfo

Metode ini MethodInfo.

arguments
Object[]

Argumen panggilan metode. Bisa jadi NestedClosureCodeFragment.

chainedCall
MethodCallCodeFragment

Metode berikutnya memanggil untuk menautkan setelah ini.

Atribut

Berlaku untuk

MethodCallCodeFragment(String, Object[], MethodCallCodeFragment)

Perhatian

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

Menginisialisasi instans baru kelas 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)

Parameter

method
String

Nama metode.

arguments
Object[]

Argumen panggilan metode. Bisa jadi NestedClosureCodeFragment.

chainedCall
MethodCallCodeFragment

Metode berikutnya memanggil untuk menautkan setelah ini.

Atribut

Berlaku untuk