LambdaExpression.CompileToMethod Yöntem

Tanım

Lambda'yi bir yöntem tanımına derler.

Aşırı Yüklemeler

CompileToMethod(MethodBuilder)

Lambda'yi bir yöntem tanımına derler.

CompileToMethod(MethodBuilder, DebugInfoGenerator)

Lambda'yi bir yöntem tanımı ve özel hata ayıklama bilgileri olarak derler.

CompileToMethod(MethodBuilder)

Lambda'yi bir yöntem tanımına derler.

public:
 void CompileToMethod(System::Reflection::Emit::MethodBuilder ^ method);
public void CompileToMethod (System.Reflection.Emit.MethodBuilder method);
member this.CompileToMethod : System.Reflection.Emit.MethodBuilder -> unit
Public Sub CompileToMethod (method As MethodBuilder)

Parametreler

method
MethodBuilder

Lambda'nın MethodBuilder IL'sini tutmak için kullanılacak bir.

Şunlara uygulanır

CompileToMethod(MethodBuilder, DebugInfoGenerator)

Lambda'yi bir yöntem tanımı ve özel hata ayıklama bilgileri olarak derler.

public:
 void CompileToMethod(System::Reflection::Emit::MethodBuilder ^ method, System::Runtime::CompilerServices::DebugInfoGenerator ^ debugInfoGenerator);
public void CompileToMethod (System.Reflection.Emit.MethodBuilder method, System.Runtime.CompilerServices.DebugInfoGenerator debugInfoGenerator);
member this.CompileToMethod : System.Reflection.Emit.MethodBuilder * System.Runtime.CompilerServices.DebugInfoGenerator -> unit
Public Sub CompileToMethod (method As MethodBuilder, debugInfoGenerator As DebugInfoGenerator)

Parametreler

method
MethodBuilder

Lambda'nın MethodBuilder IL'sini tutmak için kullanılacak bir.

debugInfoGenerator
DebugInfoGenerator

Derleyici tarafından dizi noktalarını işaretlemek ve yerel değişkenlere açıklama eklemek için kullanılan hata ayıklama bilgi oluşturucusu.

Şunlara uygulanır