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