/// <summary> /// Initializes a new instance of the <see cref="LazyFactoryBuilder"/> class. /// </summary> public LazyFactoryBuilder() { _factory[typeof(IList)] = new LazyListFactory(); #if dotnet2 _factory[typeof(IList<>)] = new LazyListGenericFactory(); #endif }
/// <summary> /// Initializes a new instance of the <see cref="LazyFactoryBuilder"/> class. /// </summary> public LazyFactoryBuilder() { _factory[typeof(IList)] = new LazyListFactory(); #if dotnet2 _factory[typeof(IList <>)] = new LazyListGenericFactory(); #endif }
/// <summary> /// Initializes a new instance of the <see cref="LazyFactoryBuilder"/> class. /// </summary> public LazyFactoryBuilder() { _factory[typeof(IList)] = new LazyListFactory(); _factory[typeof(IList<>)] = new LazyListGenericFactory(); }
/// <summary> /// Initializes a new instance of the <see cref="LazyFactoryBuilder"/> class. /// </summary> public LazyFactoryBuilder() { _factory[typeof(IList)] = new LazyListFactory(); _factory[typeof(IList <>)] = new LazyListGenericFactory(); }
/// <summary> /// Initializes a new instance of the <see cref="LazyFactoryBuilder"/> class. /// </summary> public LazyFactoryBuilder(Type implType) { _implType = implType; _factory[typeof(IList)] = new LazyListFactory(); _factory[typeof(IList <>)] = new LazyListGenericFactory(); }