/// <summary> /// Initializes a new instance of the <see cref="RandomTextGenerator"/> class. /// </summary> public RandomTextGenerator(int length) { Settings = new RandomTextGeneratorSettings(); Settings.Length = length; // we take out common letters eg 8 B or 0 O or 1 I this avoids confusion Settings.AllowedChars = "ABCDEFGHJKLMNPRSTUVWXY3456789"; }
public RandomTextGenerator(RandomTextGeneratorSettings config) { Settings = config; }