C# 클래스 BlueCollar.HttpApplicationProbe

Provides probing functions for HttpApplication entry/exit points in a bin path. Assumes the bin path is in the current app domain's probing path.
파일 보기 프로젝트 열기: ChadBurggraf/blue-collar 1 사용 예제들

공개 메소드들

메소드 설명
FindApplicationAssemblies ( ) : IEnumerable

Finds Assembly instances in the current bin path that contain types that implement HttpApplication.

FindApplicationTypes ( IEnumerable assemblies ) : IEnumerable

Finds all types in the given assembly collection that implement HttpApplication and contain an entry or exit point (or both).

FindEntryPoint ( Type type ) : MethodInfo

Finds a method acting as an HttpApplication entry point for the given type.

FindExitPoint ( Type type ) : MethodInfo

Finds a method acting as an HttpApplication exit point for the given type.

HttpApplicationProbe ( ILogger logger, string binPath ) : System

Initializes a new instance of the HttpApplicationProbe class.

비공개 메소드들

메소드 설명
FindEventHandler ( Type type, string names ) : MethodInfo

Finds a method that looks like an event handler on the given type using the given name collection as a whitelist.

IsHttpApplication ( Type type ) : bool

Gets a value indicating whether the given type implements HttpApplication.

메소드 상세

FindApplicationAssemblies() 공개 메소드

Finds Assembly instances in the current bin path that contain types that implement HttpApplication.
public FindApplicationAssemblies ( ) : IEnumerable
리턴 IEnumerable

FindApplicationTypes() 공개 정적인 메소드

Finds all types in the given assembly collection that implement HttpApplication and contain an entry or exit point (or both).
public static FindApplicationTypes ( IEnumerable assemblies ) : IEnumerable
assemblies IEnumerable The assemblies to find application types for.
리턴 IEnumerable

FindEntryPoint() 공개 정적인 메소드

Finds a method acting as an HttpApplication entry point for the given type.
public static FindEntryPoint ( Type type ) : MethodInfo
type System.Type The type to find the entry point for.
리턴 System.Reflection.MethodInfo

FindExitPoint() 공개 정적인 메소드

Finds a method acting as an HttpApplication exit point for the given type.
public static FindExitPoint ( Type type ) : MethodInfo
type System.Type The type to find the exit point for.
리턴 System.Reflection.MethodInfo

HttpApplicationProbe() 공개 메소드

Initializes a new instance of the HttpApplicationProbe class.
public HttpApplicationProbe ( ILogger logger, string binPath ) : System
logger ILogger The logger to use.
binPath string The bin path to probe.
리턴 System