Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LazyFactoryBuilder"/> class.
 /// </summary>
 public LazyFactoryBuilder()
 {
     factory[typeof(IList)]    = new LazyListFactory();
     factory[typeof(IList <>)] = new LazyListGenericFactory();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LazyFactoryBuilder"/> class.
 /// </summary>
 public LazyFactoryBuilder()
 {
     factory[typeof(IList)] = new LazyListFactory();
     factory[typeof(IList<>)] = new LazyListGenericFactory();
 }