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

            _cycleDependClassHolder = new List <Type>();

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