C# Class Ninject.Activation.Strategies.BindingActionStrategy

Executes actions defined on the binding during activation and deactivation.
Inheritance: Ninject.Activation.Strategies.ActivationStrategy
Show file Open project: ninject/Ninject Class Usage Examples

Public Methods

Method Description
Activate ( IContext context, InstanceReference reference ) : void

Calls the activation actions defined on the binding.

Deactivate ( IContext context, InstanceReference reference ) : void

Calls the deactivation actions defined on the binding.

Method Details

Activate() public method

Calls the activation actions defined on the binding.
public Activate ( IContext context, InstanceReference reference ) : void
context IContext The context.
reference InstanceReference A reference to the instance being activated.
return void

Deactivate() public method

Calls the deactivation actions defined on the binding.
public Deactivate ( IContext context, InstanceReference reference ) : void
context IContext The context.
reference InstanceReference A reference to the instance being deactivated.
return void