SeedPacket adds a .seed() method onto IEnumerable so that you create a list of elements as easily as: var mylist = new List<Item>().Seed().
The rules engine keys off the datatype or interface, and name of an item's properties so that the data is appropriate to the type. That is to say, "out-of-the-box" - email properties will be filled with valid emails, phone numbers filled with phone numbers, and names are names etc. If you need to modify the default generated data the rules are simple to create and modify, and come with a many examples, including a data generator that pulls from an xml file. The randomly generated data can be set to always be static or to be random on each request.
Go to http://code.willcrowther.com/ for more details.
See the version list below for details.
Install-Package SeedPacket -Version 0.9.9
dotnet add package SeedPacket --version 0.9.9
<PackageReference Include="SeedPacket" Version="0.9.9" />
paket add SeedPacket --version 0.9.9
#r "nuget: SeedPacket, 0.9.9"
// Install SeedPacket as a Cake Addin #addin nuget:?package=SeedPacket&version=0.9.9 // Install SeedPacket as a Cake Tool #tool nuget:?package=SeedPacket&version=0.9.9
.99 Beta release
Includes bug fixes and some breaking changes. Rules can now be matched against interfaces.
- NewLibrary.Extensions (>= 0.9.9)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.