C# Class Ninject.Extensions.ContextPreservation.Fakes.NamedSword

A test implementation of INamedWeapon used in the unit tests
Inheritance: Sword, INamedWeapon
显示文件 Open project: ninject/Ninject.Extensions.ContextPreservation

Public Methods

Method Description
NamedSword ( string name, IJewel jewel )

Initializes a new instance of the NamedSword class.

Method Details

NamedSword() public method

Initializes a new instance of the NamedSword class.
public NamedSword ( string name, IJewel jewel )
name string The name of the weapon.
jewel IJewel A enhancement for a weapon.