Beispiel #1
0
 private void InitializeSettings(string methodName)
 {
     _calcMethod = _methods[methodName];
     foreach (var i in _calcMethod.Params)
     {
         if (_settings.Where(p => p.ParamName == i.ParamName).FirstOrDefault() == null)
         {
             _settings.Add(i);
         }
     }
 }
Beispiel #2
0
 public void SetMethod(Method method)
 {
     _calcMethod = method;
 }