C# Class Ninject.Extensions.DependencyCreation.DependencyCreationDirective

This directive defines that upon activation of the object a dependency has to be created.
Inheritance: IDirective
显示文件 Open project: ninject/Ninject.Extensions.DependencyCreation

Public Methods

Method Description
DependencyCreationDirective ( Type dependencyType ) : System

Initializes a new instance of the DependencyCreationDirective class.

Method Details

DependencyCreationDirective() public method

Initializes a new instance of the DependencyCreationDirective class.
public DependencyCreationDirective ( Type dependencyType ) : System
dependencyType System.Type Type of the dependency.
return System