internal CompoundValueProvider( ValueProviderDictionary valueProviderDictionary, HashSet <IKey> autoFillMapping, IMemberSorter memberSorter, IMetadataResolver metadataResolver, IRandom random, IList <IInstanceModifier> instanceModifiers, IParameterConversionService parameterConversionService, IFastReflectionUtility fastReflectionUtility) { Random = random; _valueProviderDictionary = valueProviderDictionary; _autoFillMapping = autoFillMapping; _memberSorter = memberSorter; _metadataResolver = metadataResolver; _fastReflectionUtility = fastReflectionUtility; _instanceFactory = new InstanceFactory( this, valueProviderDictionary, _memberSorter, _metadataResolver, parameterConversionService, fastReflectionUtility); _modificationFactory = new ModificationFactory(instanceModifiers, random); }
public InstanceFactory( CompoundValueProvider compoundValueProvider, ValueProviderDictionary valueProviderDictionary, IMemberSorter memberSorter, IMetadataResolver metadataResolver, IParameterConversionService parameterConversionService, IFastReflectionUtility fastReflectionUtility) { _compoundValueProvider = compoundValueProvider; _valueProviderDictionary = valueProviderDictionary; _memberSorter = memberSorter; _metadataResolver = metadataResolver; _parameterConversionService = parameterConversionService; _fastReflectionUtility = fastReflectionUtility; }
public AdvancedContext( IKey key, IMemberSorter memberSorter, IMetadataResolver metadataResolver, IParameterConversionService parameterConversionService, ITestDataGeneratorAdvanced advancedTestDataGenerator, IFastReflectionUtility fastReflectionUtility) { Key = key; MemberSorter = memberSorter; MetadataResolver = metadataResolver; ParameterConversionService = parameterConversionService; AdvancedTestDataGenerator = advancedTestDataGenerator; FastReflection = fastReflectionUtility; }