LambdaExpression.CompileToMethod Yöntem

Tanım

Lambdayı bir yöntem tanımına derler.

Aşırı Yüklemeler

CompileToMethod(MethodBuilder)

Lambdayı bir yöntem tanımına derler.

CompileToMethod(MethodBuilder, DebugInfoGenerator)

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

CompileToMethod(MethodBuilder)

Lambdayı 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

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

Şunlara uygulanır

CompileToMethod(MethodBuilder, DebugInfoGenerator)

Lambda'yi bir yöntem tanımına ve özel hata ayıklama bilgilerine 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

MethodBuilder Lambda'nın 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