C# 클래스 Lucene.Net.LukeNet.ClassFinder.ClassFinder

This class finds classes that implement one or more specified interfaces.
파일 보기 프로젝트 열기: mammo/LukeSharp

Private Properties

프로퍼티 타입 설명
ClassFinder System
FindAllSubTypesOneType System.Collections.ArrayList
FindAllSubtypes System.Type[]
FindTypesInPaths System.Type[]
GetAssembliesList String[]

공개 메소드들

메소드 설명
FindClassesThatExtend ( String paths, Type superTypes ) : System.Type[]

Convenience method for findClassesThatExtend(Class[], boolean) with the option to include inner classes in the search set to false.

FindClassesThatExtend ( Type superClasses ) : System.Type[]

Convenience method that finds classes in the application directory

FindClassesThatExtend ( string strPaths, Type superTypes, bool innerTypes ) : System.Type[]
GetInstantiableSubtypes ( Type superType ) : System.Type[]

Convenience method to get a list of types that can be instantiated

비공개 메소드들

메소드 설명
ClassFinder ( ) : System
FindAllSubTypesOneType ( Type theType, Type allTypes, bool innerClasses ) : ArrayList

Finds all classes that extend the class, searching in the listAllClasses ArrayList.

FindAllSubtypes ( Type superTypes, Type allTypes, bool innerClasses ) : System.Type[]

Finds all classes that extend the classes in the listSuperClasses ArrayList, searching in the listAllClasses ArrayList.

FindTypesInPaths ( string paths ) : System.Type[]
GetAssembliesList ( String paths ) : String[]

Searches the specified path and returns file names which could be considered as assemblies.

메소드 상세

FindClassesThatExtend() 공개 정적인 메소드

Convenience method for findClassesThatExtend(Class[], boolean) with the option to include inner classes in the search set to false.
public static FindClassesThatExtend ( String paths, Type superTypes ) : System.Type[]
paths String
superTypes System.Type
리턴 System.Type[]

FindClassesThatExtend() 공개 정적인 메소드

Convenience method that finds classes in the application directory
public static FindClassesThatExtend ( Type superClasses ) : System.Type[]
superClasses System.Type
리턴 System.Type[]

FindClassesThatExtend() 공개 정적인 메소드

public static FindClassesThatExtend ( string strPaths, Type superTypes, bool innerTypes ) : System.Type[]
strPaths string
superTypes System.Type
innerTypes bool
리턴 System.Type[]

GetInstantiableSubtypes() 공개 정적인 메소드

Convenience method to get a list of types that can be instantiated
public static GetInstantiableSubtypes ( Type superType ) : System.Type[]
superType System.Type
리턴 System.Type[]