Example #1
0
 public UciEngineSettings()
 {
     Options = new UciOption[0];
 }
Example #2
0
 public EngineSettingViewModel(UciOption option)
     : this()
 {
     Option = option;
 }
Example #3
0
        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);
        }