Esempio n. 1
0
 public ConfigurationModel CreateModel()
 {
     var model = new ConfigurationModel
                     {
                         FuelPrice = GetFuel(),
                         Epsilon = GetEpsilon(),
                         ParseTime = GetParseTime()
                     };
     return model;
 }
Esempio n. 2
0
 public void UpdateModel(ConfigurationModel model)
 {
     SetFuel(model.FuelPrice);
     SetEpsilon(model.Epsilon);
     SetParseTime(model.ParseTime);
 }