private static List <T> BuildList <T>(int itemCount) where T : new() { var result = new List <T>(); for (int i = 0; i < itemCount; i++) { result.Add(Angie.FastMake <T>()); } return(result); }
public AngieShortConfigurator(Angie angie, Maggie maggie, PropertyInfo propertyInfo) : base(angie, maggie) { _propertyInfo = propertyInfo; }
public static List <T> FastList <T>(int count) where T : new() { return(Angie.FastList <T>(count)); }
public static List <T> FastList <T>() where T : new() { return(Angie.FastList <T>()); }
/// <summary> /// Create a new object /// </summary> /// <typeparam name="T">The target object type</typeparam> /// <returns>An object filled with random data</returns> public T Make <T>() where T : new() { return(Angie.FastMake <T>()); }
/// <summary> /// Fill an existing object with random data /// </summary> /// <typeparam name="T">The target object type</typeparam> /// <param name="instance">The instance to fill</param> /// <returns>The instance filled with random data</returns> public static T FastFill <T>(T instance) { return(Angie.FastFill(instance)); }
public AngieConfigurator(Angie angie, FillerManager maggie) { _angie = angie; _fillerManager = maggie; }
public AngieComplexPropertyConfigurator(Angie angie, FillerManager fillerManager, MemberInfo propertyInfo) : base(angie, fillerManager) { _propertyInfo = propertyInfo; }
public AngieComplexPropertyConfigurator(Angie angie, Maggie maggie, PropertyInfo propertyInfo) : base(angie, maggie) { _propertyInfo = propertyInfo; }
public AngieDefaulturator(Angie angie, FillerManager maggie) { _angie = angie; _fillerManager = maggie; }
public AngieDefaulturator(Angie angie, Maggie maggie) { _angie = angie; _maggie = maggie; }
public AngieConfigurator(Angie angie, Maggie maggie) { _angie = angie; _maggie = maggie; }