public ListBuilder(int size, IPropertyNamer propertyNamer, IReflectionUtil reflectionUtil) { this.size = size; this.propertyNamer = propertyNamer; this.reflectionUtil = reflectionUtil; mainList = new T[size]; declarations = new DeclarationQueue <T>(size); ScopeUniqueRandomGenerator = new UniqueRandomGenerator(); }
public ListBuilder(int size, IPropertyNamer propertyNamer, IReflectionUtil reflectionUtil, BuilderSettings builderSettings) { this.Capacity = size; this.propertyNamer = propertyNamer; this.reflectionUtil = reflectionUtil; BuilderSettings = builderSettings; mainList = new T[size]; declarations = new DeclarationQueue <T>(size); ScopeUniqueRandomGenerator = new UniqueRandomGenerator(); }