Méthode | Description | |
---|---|---|
CleanupInjectableProperties ( [ kernel, [ target, ITypePropertyDescriptorCache cache ) : void |
Cleanups up injectable properties. All injectable properties will be set to Since this method does not perform dependency validation InjectProperties , cache is used as read-only. Calling CleanupInjectableProperties without call to InjectProperties on the same type will incur performance penalty as list of properties will be evaluated every time. |
|
InjectProperties ( [ kernel, [ target, [ cache, ComponentModel>.Action |
Injects dependencies into properties.
|
Méthode | Description | |
---|---|---|
GetInjectableProperties ( IKernel kernel, ITypePropertyDescriptorCache cache, ComponentModel>.Action |
||
GetInjectableProperties ( |
||
GetOrAdd ( IKernel kernel, ITypePropertyDescriptorCache cache, |
public static CleanupInjectableProperties ( [ kernel, [ target, ITypePropertyDescriptorCache cache ) : void | ||
kernel | [ | Windsor kernel. |
target | [ | The target object to cleanup injectable properties. |
cache | ITypePropertyDescriptorCache | Injectable property descriptor cache. |
Résultat | void |
public static InjectProperties ( [ kernel, [ target, [ cache, ComponentModel>.Action |
||
kernel | [ | Windsor kernel |
target | [ | The target object to inject properties. |
cache | [ | Injectable property descriptor cache. |
validatePropertyRegistration | ComponentModel>.Action | /// Callback to validate property dependency to be injected. Must throw /// exception in case of failure. /// |
Résultat | void |