public override RandomText GetRandom() { IEnumerable <string> paragraphs = Facker.LoremParagraphs(16); string text = string.Concat(paragraphs); return(new RandomText { Name = "Lorem ipsum", Text = text }); }
protected internal override string GetStringValue(EmailColumnInfo columnInfo, Country country) { string mail = Facker.Email(); if (columnInfo.MaxLength > 0 && mail.Length > columnInfo.MaxLength) { mail = mail.Substring(mail.Length - columnInfo.MaxLength); } return(mail); }