示例#1
0
 public void Initialize()
 {
     foreach (var item in _configurations.Items)
     {
         var configuration = item;
         _factory.Configure(configure => configure.For <IParser>().Use(new Parser(configuration)).Named(configuration.Instance));
     }
 }