public UciEngineSettings() { Options = new UciOption[0]; }
public EngineSettingViewModel(UciOption option) : this() { Option = option; }
private void Option(string name, UciOptionType type, object defaultValue, int? min, int? max, List<object> options) { var opt = new UciOption { DefaultValue = defaultValue, Max = max, Min = min, Name = name, Type = type, Options = options }; Options.Add(opt); }