依赖注入器 Ninject
- 授权协议: Apache
- 开发语言: .NET
- 操作系统: Windows
- 软件首页: http://ninject.org/
- 官方下载: http://www.ninject.org/download.html
软件介绍
Ninject为.NET应用程序提供快速、轻型的依赖注入器而著称。它有助于开发人员将应用程序拆分为松耦合、高内聚的功能片断的集合,然后以灵活的方式将它们粘连在一起。从软件架构层面上使用Ninject,可以使得你的代码更易于编写、重用、测试和修改。
示例代码:
public class Samurai {
public IWeapon Weapon { get; private set; }
public Samurai(IWeapon weapon)
{
this.Weapon = weapon;
}
}
public class WarriorModule : NinjectModule
{
public override void Load()
{
this.Bind<IWeapon>().To<Sword>();
}
}
Usability for the Web
Tom Brinck、Darren Gergle、Scott D. Wood / Morgan Kaufmann / 2001-10-15 / USD 65.95
Every stage in the design of a new web site is an opportunity to meet or miss deadlines and budgetary goals. Every stage is an opportunity to boost or undercut the site's usability. Thi......一起来看看 《Usability for the Web》 这本书的介绍吧!
