C# Class ArenaNet.Sprout.IoC.NotifyingComponentLifecycleProcessor

A component lifecycle processor that notifies the Components of the lifecycle.
Inheritance: IComponentLifecycleProcessor
Show file Open project: arenanet/sprout-ioc

Public Methods

Method Description
OnStart ( Context context, object component, ComponentDescriptor descriptor ) : void

Notifies the given component when its Injections are complete.

OnStop ( Context context, object component, ComponentDescriptor descriptor ) : void

Notifies the given component when the Context stops.

Method Details

OnStart() public method

Notifies the given component when its Injections are complete.
public OnStart ( Context context, object component, ComponentDescriptor descriptor ) : void
context Context
component object
descriptor ComponentDescriptor
return void

OnStop() public method

Notifies the given component when the Context stops.
public OnStop ( Context context, object component, ComponentDescriptor descriptor ) : void
context Context
component object
descriptor ComponentDescriptor
return void