C# 클래스 Spring.Context.Attributes.AssemblyObjectDefinitionScanner

AssemblyTypeScanner that only accepts types that also meet the requirements of being ObjectDefintions.
상속: Spring.Context.Attributes.RequiredConstraintAssemblyTypeScanner
파일 보기 프로젝트 열기: spring-projects/spring-net-codeconfig 1 사용 예제들

공개 메소드들

메소드 설명
AssemblyObjectDefinitionScanner ( ) : System

Initializes a new instance of the AssemblyObjectDefinitionScanner class.

ScanAndRegisterTypes ( IObjectDefinitionRegistry registry ) : void

Scans the and register types.

보호된 메소드들

메소드 설명
ApplyAssemblyFiltersTo ( IEnumerable assemblyCandidates ) : IEnumerable

Applies the assembly filters to the assembly candidates.

IsExcludedAssembly ( Assembly candidate ) : bool

Determines whether the specified candidate is and excluded assembly.

IsRequiredConstraintSatisfiedBy ( Type type ) : bool

Determines whether the required constraint is satisfied by the specified type.

SetDefaultFilters ( ) : void

Sets the default filters.

비공개 메소드들

메소드 설명
RegisterDefinitionsForTypes ( IObjectDefinitionRegistry registry, IEnumerable typesToRegister ) : void

Registers the defintions for types.

메소드 상세

ApplyAssemblyFiltersTo() 보호된 메소드

Applies the assembly filters to the assembly candidates.
protected ApplyAssemblyFiltersTo ( IEnumerable assemblyCandidates ) : IEnumerable
assemblyCandidates IEnumerable The assembly candidates.
리턴 IEnumerable

AssemblyObjectDefinitionScanner() 공개 메소드

Initializes a new instance of the AssemblyObjectDefinitionScanner class.
public AssemblyObjectDefinitionScanner ( ) : System
리턴 System

IsExcludedAssembly() 보호된 메소드

Determines whether the specified candidate is and excluded assembly.
protected IsExcludedAssembly ( Assembly candidate ) : bool
candidate System.Reflection.Assembly The candidate.
리턴 bool

IsRequiredConstraintSatisfiedBy() 보호된 메소드

Determines whether the required constraint is satisfied by the specified type.
protected IsRequiredConstraintSatisfiedBy ( Type type ) : bool
type System.Type The type.
리턴 bool

ScanAndRegisterTypes() 공개 메소드

Scans the and register types.
public ScanAndRegisterTypes ( IObjectDefinitionRegistry registry ) : void
registry IObjectDefinitionRegistry The registry within which to register the types.
리턴 void

SetDefaultFilters() 보호된 메소드

Sets the default filters.
protected SetDefaultFilters ( ) : void
리턴 void