C# Class Castle.Facilities.BatchRegistration.ComponentScanner

Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode Description
AddExclude ( String className ) : void
AddInclude ( String key, String service, String className ) : void
ComponentScanner ( String assemblyName ) : System
Process ( ) : Castle.Facilities.BatchRegistration.ComponentDefinition[]

Private Methods

Méthode Description
AddToResult ( Assembly assembly, ComponentDefinition def ) : void
AddToResult ( Type type, CastleComponentAttribute attribute ) : void
InferType ( Assembly assembly, String typeName ) : Type

This method always tries to obtain the type from the specified assembly.

InspectTypes ( Assembly assembly ) : void
LoadAssembly ( ) : Assembly
ObtainType ( Assembly assembly, String typeName ) : Type

Obtains the Type by checking if the typeName is possible a full type name, or just an namespace.typename and for the later case, it tries to load the type from the specified assembly

ProcessIncludes ( Assembly assembly ) : void
ProcessType ( Type type ) : void
SortExcludes ( ) : void

Method Details

AddExclude() public méthode

public AddExclude ( String className ) : void
className String
Résultat void

AddInclude() public méthode

public AddInclude ( String key, String service, String className ) : void
key String
service String
className String
Résultat void

ComponentScanner() public méthode

public ComponentScanner ( String assemblyName ) : System
assemblyName String
Résultat System

Process() public méthode

public Process ( ) : Castle.Facilities.BatchRegistration.ComponentDefinition[]
Résultat Castle.Facilities.BatchRegistration.ComponentDefinition[]