Example #1
0
            public Builder ValueFactoryForType(Type type, IRandomValueFactory factoryFunction)
            {
                m_factories.SetForType(type, factoryFunction);

                return(this);
            }
Example #2
0
 public Builder GeneratorForType(Type type, IRandomValueFactory gen)
 {
     ValueFactoryForType(type, gen);
     return(this);
 }
Example #3
0
 private void SetValueFactoryFor(Type type, IRandomValueFactory gen)
 {
     Debug("Registering generator for type {0}", type.PrettyName());
     m_randomValueFactories.SetForType(type, gen);
 }