C# Class Castle.Facilities.LightweighFactory.LightweightFactory

Inheritance: ILazyComponentLoader
Afficher le fichier Open project: nhsevidence/Snooze Class Usage Examples

Méthodes publiques

Méthode Description
LightweightFactory ( IKernel kernel, IDelegateBuilder delegateBuiler ) : System
Load ( string key, Type service ) : IRegistration
Load ( string key, Type service, IDictionary arguments ) : IRegistration

Méthodes protégées

Méthode Description
ExtractServiceName ( string key ) : string
GetHandlerToBeResolvedByDelegate ( MethodInfo invoke, string serviceName ) : IHandler
GetInvokeMethod ( Type @delegate ) : MethodInfo
HasReturn ( MethodInfo invoke ) : bool
ShouldLoad ( string key, Type service ) : bool

Method Details

ExtractServiceName() protected méthode

protected ExtractServiceName ( string key ) : string
key string
Résultat string

GetHandlerToBeResolvedByDelegate() protected méthode

protected GetHandlerToBeResolvedByDelegate ( MethodInfo invoke, string serviceName ) : IHandler
invoke System.Reflection.MethodInfo
serviceName string
Résultat IHandler

GetInvokeMethod() protected méthode

protected GetInvokeMethod ( Type @delegate ) : MethodInfo
@delegate System.Type
Résultat System.Reflection.MethodInfo

HasReturn() protected méthode

protected HasReturn ( MethodInfo invoke ) : bool
invoke System.Reflection.MethodInfo
Résultat bool

LightweightFactory() public méthode

public LightweightFactory ( IKernel kernel, IDelegateBuilder delegateBuiler ) : System
kernel IKernel
delegateBuiler IDelegateBuilder
Résultat System

Load() public méthode

public Load ( string key, Type service ) : IRegistration
key string
service System.Type
Résultat IRegistration

Load() public méthode

public Load ( string key, Type service, IDictionary arguments ) : IRegistration
key string
service System.Type
arguments IDictionary
Résultat IRegistration

ShouldLoad() protected méthode

protected ShouldLoad ( string key, Type service ) : bool
key string
service System.Type
Résultat bool