LambdaExpression.CompileToMethod Yöntem

Tanım

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

Aşırı Yüklemeler

Name Description
CompileToMethod(MethodBuilder)

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

CompileToMethod(MethodBuilder, DebugInfoGenerator)

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

CompileToMethod(MethodBuilder)

Lambda'yi bir yöntem tanımında 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ı ve özel hata ayıklama bilgileri halinde 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 ek açıklama eklemek için kullanılan hata ayıklama bilgi oluşturucusu.

Şunlara uygulanır