Skip to content

This is a configurable generator to create random data like Lorum Ipsum Text, Words, Text Patterns, First/Last Names, MAC-Addresses, IP-Addresses, Guids and DateTime.

License

Notifications You must be signed in to change notification settings

StefH/RandomDataGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RandomDataGenerator.Net

This is a simple generator to create random data.

NuGet

NuGet Badge

Supported Random Data

  • Text Patterns
  • Lorum Ipsum Text
  • Words
  • First/Last Names
  • Cities
  • Countries
  • IP-Addresses (V4 and V6)
  • MAC Addresses
  • Email Addresses
  • Guids
  • DateTime
  • Integers

Usage

// Generate a random first name
var randomizerFirstName = RandomizerFactory.GetRandomizer(new FieldOptionsFirstName());
string firstName = randomizerFirstName.Generate();

// Generate a random text (no numbers or special characters allowed)
var randomizerText = RandomizerFactory.GetRandomizer(new FieldOptionsText { UseNumber = false, UseSpecial = false });
string text = randomizerText.Generate();

Copyright

Referenced files

NuGet dependencies

  • NLipsum
  • NetLegacySupport.ConcurrentDictionary (only for .NET 2.0 & 3.5)
  • LinqBridge (only for .NET 2.0)

About

This is a configurable generator to create random data like Lorum Ipsum Text, Words, Text Patterns, First/Last Names, MAC-Addresses, IP-Addresses, Guids and DateTime.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •