internal PropertyFiller(GenFuInstance genfu, string[] objectTypeNames, string[] propertyNames, bool isGenericFiller) { ObjectTypeNames = objectTypeNames.Select(o => o.ToLowerInvariant()).ToArray(); PropertyNames = propertyNames.Select(p => p.ToLowerInvariant()).ToArray(); GenFu = genfu; IsGenericFiller = isGenericFiller; }
internal CustomFiller(GenFuInstance genfu, string propertyName, Type objectType, bool isGeneric, Func <T> filler) : base(genfu, new[] { objectType.FullName }, new[] { propertyName }, isGeneric) { if (objectType != typeof(Object)) { AddAllBaseTypes(propertyName, objectType); } _filler = filler; }
public GenFuStringConfigurator(GenFuInstance genfu, FillerManager fillerManager, MemberInfo propertyInfo) : base(genfu, fillerManager) { _propertyInfo = propertyInfo; }
public NullableUIntFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "*" }, true) { Min = GenFu.Defaults.MIN_UINT; Max = GenFu.Defaults.MAX_UINT; }
public AgeFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "Age" }) { }
public DoubleFiller(GenFuInstance genFu, Type objectType, string propertyName, double min, double max) : base(genFu, new[] { objectType.FullName }, new[] { propertyName }) { Min = min; Max = max; }
public NullableDecimalFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "*" }, true) { Min = GenFu.Defaults.MIN_DECIMAL; Max = GenFu.Defaults.MAX_DECIMAL; }
public IntFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "*" }, true) { Min = genFu.Defaults.MIN_INT; Max = genFu.Defaults.MAX_INT; }
public FirstNameFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "firstname", "fname", "first_name" }) { }
public MusicGenreDescriptionFiller(GenFuInstance genFu) : base(genFu, new[] { "genre", "musicgenre", "music_genre" }, new[] { "description", "desc", "genre_description", "genre_desc" }) { }
public MusicGenreNameFiller(GenFuInstance genfu) : base(genfu, new[] { "genre", "musicgenre", "music_genre" }, new[] { "title", "name", "genre_title", "genre_name" }) { }
public MusicArtistNameFiller(GenFuInstance genfu) : base(genfu, new[] { "artist" }, new[] { "name", "artistname", "artist_name" }) { }
public ArticleTitleFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "title" }) { }
public MusicAlbumTitleFiller(GenFuInstance genfu) : base(genfu, new[] { "album", "musicalbum", "music_album" }, new[] { "title", "albumname", "name" }) { }
public PhoneNumberFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "fax", "phone", "phonenumber", "phone_number", "homenumber", "worknumber" }) { }
public ShortFiller(GenFuInstance genFu, Type objectType, string propertyName, short min, short max) : base(genFu, new[] { objectType.FullName }, new[] { propertyName }) { Min = min; Max = max; }
public NullableShortFiller(GenFuInstance genfu) : base(genfu, new[] { "object" }, new[] { "*" }, true) { Min = GenFu.Defaults.MIN_SHORT; Max = GenFu.Defaults.MAX_SHORT; }
public PersonTitleFiller(GenFuInstance genFu) : base(genFu, new[] { "person", "employee", "user" }, new[] { "title" }) { }
public NullableULongFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "*" }, true) { Min = 0; Max = GenFu.Defaults.MAX_INT; }
public LastNameFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "lastname", "lname", "last_name" }) { }
public NullableDecimalFiller(GenFuInstance genFu, Type objectType, string propertyName, decimal min, decimal max) : base(genFu, new[] { objectType.FullName }, new[] { propertyName }) { Min = min; Max = max; }
public EmailFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "email", "emailaddress", "email_address" }) { }
public NullableDoubleFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "*" }, true) { Min = GenFu.Defaults.MIN_DOUBLE; Max = GenFu.Defaults.MAX_DOUBLE; }
public DateTimeOffsetFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "*" }, true) { }
public PriceFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "price", "amount", "amt" }) { }
public BirthDateFiller(GenFuInstance genFu) : base(genFu, new[] { "object" }, new[] { "birthdate", "birth_date" }) { }
public NullableUIntFiller(GenFuInstance genFu, Type objectType, string propertyName, uint min, uint max) : base(genFu, new[] { objectType.FullName }, new[] { propertyName }) { Min = min; Max = max; }
public BaseValueGenerator(GenFuInstance genFu) { GenFu = genFu; }
public GenFuConfigurator(GenFuInstance genfu, FillerManager filterManager) { _genfu = genfu; _fillerManager = filterManager; }
public GenFuShortConfigurator(GenFuInstance genfu, FillerManager fillerManager, MemberInfo propertyInfo) : base(genfu, fillerManager) { this.genfu = genfu; _propertyInfo = propertyInfo; }