C# 클래스 NLog.Internal.ReflectionHelpers

Reflection helpers.
파일 보기 프로젝트 열기: NLog/NLog

공개 메소드들

메소드 설명
CreateLateBoundMethod ( MethodInfo methodInfo ) : LateBoundMethod

Creates an optimized delegate for calling the MethodInfo using Expression-Trees

IsStaticClass ( this type ) : bool

Is this a static class?

This is a work around, as Type doesn't have this property. From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static

SafeGetTypes ( this assembly ) : System.Type[]

Gets all usable exported types from the given assembly.

Types which cannot be loaded are skipped.

메소드 상세

CreateLateBoundMethod() 공개 정적인 메소드

Creates an optimized delegate for calling the MethodInfo using Expression-Trees
public static CreateLateBoundMethod ( MethodInfo methodInfo ) : LateBoundMethod
methodInfo System.Reflection.MethodInfo Method to optimize
리턴 LateBoundMethod

IsStaticClass() 공개 정적인 메소드

Is this a static class?
This is a work around, as Type doesn't have this property. From: http://stackoverflow.com/questions/1175888/determine-if-a-type-is-static
public static IsStaticClass ( this type ) : bool
type this
리턴 bool

SafeGetTypes() 공개 정적인 메소드

Gets all usable exported types from the given assembly.
Types which cannot be loaded are skipped.
public static SafeGetTypes ( this assembly ) : System.Type[]
assembly this Assembly to scan.
리턴 System.Type[]