共用方式為


MethodCallCodeFragment 類別

定義

表示對方法的呼叫。

public class MethodCallCodeFragment
public class MethodCallCodeFragment : Microsoft.EntityFrameworkCore.Design.IMethodCallCodeFragment
type MethodCallCodeFragment = class
type MethodCallCodeFragment = class
    interface IMethodCallCodeFragment
Public Class MethodCallCodeFragment
Public Class MethodCallCodeFragment
Implements IMethodCallCodeFragment
繼承
MethodCallCodeFragment
實作

備註

如需詳細資訊 和範例,請參閱資料庫提供者和延伸模組的實作

建構函式

MethodCallCodeFragment(MethodInfo, Object[])

初始化 MethodCallCodeFragment 類別的新執行個體。

MethodCallCodeFragment(MethodInfo, Object[], MethodCallCodeFragment)
已過時。.

初始化 MethodCallCodeFragment 類別的新執行個體。

MethodCallCodeFragment(String, Object[])
已過時。.

初始化 MethodCallCodeFragment 類別的新執行個體。

MethodCallCodeFragment(String, Object[], MethodCallCodeFragment)
已過時。.

初始化 MethodCallCodeFragment 類別的新執行個體。

屬性

Arguments

取得方法呼叫的引數。

ChainedCall

取得這個 之後鏈結的下一個方法呼叫。

DeclaringType

取得方法宣告型別的名稱。

Method

取得方法的名稱。

MethodInfo

MethodInfo取得這個方法呼叫的 。

Namespace

取得方法宣告型別的命名空間。

方法

Chain(MethodCallCodeFragment)

從這個方法建立方法鏈結到另一個方法。

Chain(MethodInfo, Object[])

從這個方法建立方法鏈結到另一個方法。

Chain(String, Object[])
已過時。.

從這個方法建立方法鏈結到另一個方法。

明確介面實作

IMethodCallCodeFragment.Arguments

表示對方法的呼叫。

IMethodCallCodeFragment.ChainedCall

表示對方法的呼叫。

IMethodCallCodeFragment.TypeArguments

表示對方法的呼叫。

擴充方法

GetRequiredUsings(MethodCallCodeFragment)

取得這個方法呼叫所需的 using 語句。

適用於