2011-04-28 3 views
2

다음은 System.Linq.EnumerableExecutor의 설명서입니다.`EnumerableExecutor` 클래스의 목적과 용도는 무엇입니까?

내가 할 수있는 일이 무엇인지 알아낼 수 없습니다. 아래는 내가 반사판에서 얻은 소스 코드입니다 :

public abstract class EnumerableExecutor 
{ 
    [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] 
    protected EnumerableExecutor(){} 
} 

public class EnumerableExecutor<T> : EnumerableExecutor 
{ 
    [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] 
    public EnumerableExecutor(Expression expression){} 
} 

어떤 수취인입니까?

+1

"_이 API는 .NET Framework 인프라를 지원하며 사용자 코드에서 직접 사용할 수 없습니다." – driis

+0

여기에 누구도 "표현 트리를 나타내고 실행 기능을 제공 할 것입니다. 표현식 트리를 다시 작성한 후 ", 솔직히 말하면, 결코 알 수 없습니다. – AakashM

답변

2

설명서에 명시된 바와 같이, Google 코드에서 사용하도록되어 있지 않습니다.

internal T Execute(); 

internal override object ExecuteBoxed(); 

목적은, Expression 컴파일을 실행하고 결과를 반환하는 기능을 제공하는 것으로 보인다 : 그것은 같은 프레임 워크의 내부에 유용 할 수 있습니다 내부 방법을 가지고 있습니다.

관련 문제