MethodCallCodeFragment 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
MethodCallCodeFragment(MethodInfo, Object[])
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
初始化 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())
参数
- methodInfo
- MethodInfo
方法的 MethodInfo。
- arguments
- Object[]
方法调用的参数。 可以为 NestedClosureCodeFragment。
适用于
MethodCallCodeFragment(String, Object[])
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
注意
Use the overload accepting a MethodInfo
初始化 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())
参数
- method
- String
方法的名称。
- arguments
- Object[]
方法调用的参数。 可以是片段,如 NestedClosureCodeFragment 或 PropertyAccessorCodeFragment。
- 属性
适用于
MethodCallCodeFragment(MethodInfo, Object[], MethodCallCodeFragment)
- Source:
- MethodCallCodeFragment.cs
注意
Use the constructor without a chained call, and then invoke Chain() on the result
初始化 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)
参数
- methodInfo
- MethodInfo
方法的 MethodInfo。
- arguments
- Object[]
方法调用的参数。 可以为 NestedClosureCodeFragment。
- chainedCall
- MethodCallCodeFragment
在此之后对 chain 的下一个方法调用。
- 属性
适用于
MethodCallCodeFragment(String, Object[], MethodCallCodeFragment)
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
- Source:
- MethodCallCodeFragment.cs
注意
Use the overload accepting a MethodInfo, and then invoke Chain on the instance for the chained call
初始化 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)
参数
- method
- String
方法的名称。
- arguments
- Object[]
方法调用的参数。 可以为 NestedClosureCodeFragment。
- chainedCall
- MethodCallCodeFragment
在此之后对 chain 的下一个方法调用。
- 属性