Example #1
0
 public Faker(FakerConfig config)
 {
     _config     = config;
     _generators = new Dictionary <Type, IGenerator>();
     _genericGeneratorFactory = new List <IGenericGeneratorFactory>();
     LoadGenerators();
     LoadGeneratorsFromDirectory();
 }
Example #2
0
        public Faker()
        {
            _config     = new FakerConfig();
            _generators = new Dictionary <string, IGenerator>();

            _cycleDependClassHolder = new List <Type>();

            AutoLoadGenerators();
            LoadGenerators();
        }
Example #3
0
 public Faker()
 {
     Config = new FakerConfig();
     LoadGeneratorsClasses();
 }
Example #4
0
 public Faker(FakerConfig fakerConfig)
 {
     Config = fakerConfig;
     LoadGeneratorsClasses();
 }
Example #5
0
 public void AddConfig(FakerConfig c)
 {
     conf = c;
 }