C# Class HermaFx.Castle.InjectExtensions

显示文件 Open project: evicertia/HermaFx

Public Methods

Method Description
InjectDependencies ( this kernel, object @object ) : void

Injects the dependencies.

ReleaseDependencies ( this kernel, object @object ) : void

Releases the dependencies.

Private Methods

Method Description
GetDependencyPropertiesFor ( object @object ) : IEnumerable

Gets the dependency properties for object.

IsGenericCollection ( this type ) : bool

Determines whether the specified type is a generic collection.

Method Details

InjectDependencies() public static method

Injects the dependencies.
public static InjectDependencies ( this kernel, object @object ) : void
kernel this The container.
@object object
return void

ReleaseDependencies() public static method

Releases the dependencies.
public static ReleaseDependencies ( this kernel, object @object ) : void
kernel this The kernel.
@object object
return void