首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 对Spring.NET流利的配置

对Spring.NET流利的配置

  • 资源大小:248.55 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 配置 SpringNET 流利

资 源 简 介

Fluent Spring is a DSL (Domain Specific Language) to configure Spring.NET container. It enable fluent programmatic configuration of Spring.NET. This is how you would use the configurator: ``` using FluentSpring; using Spring.Context; ... configurator = new FluentConfigurator(); configurator.Register().AsSelf(); configurator.Register().AsSelf() .BindCtorArg().To(); IApplicationContext appContext = configurator.ToSpring(); ClassWithConstructorParam myObject = appContext.GetObject(); Assert.IsNotNull(myObject); Assert.IsNotNull(myObject.Arg1); ``` For detailed code, check out the unit tests in ResolveConstructorDependencyTest.cs Take a look at

文 件 列 表

antlr.runtime.dll
Common.Logging.dll
FluentSpring.dll
Spring.Core.dll
VIP VIP
0.176079s