C# Класс Spring.Context.Attributes.AssemblyObjectDefinitionScanner

AssemblyTypeScanner that only accepts types that also meet the requirements of being ObjectDefintions.
Наследование: Spring.Context.Attributes.RequiredConstraintAssemblyTypeScanner
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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