Exemplo n.º 1
0
 public DriverOption(DriverOptionCategory category, string name, string synopsis, bool defaultValue, int id)
 {
     Id = id;
     Category = category;
     Name = name;
     Synopsis = synopsis;
     DefaultValue = defaultValue;
 }
Exemplo n.º 2
0
        public FakeDriverConfiguration()
        {
            var optionCategory = new DriverOptionCategory("Behaviour");

            OptionCategories = new List<DriverOptionCategory>(new[] {optionCategory});

            Options = new List<DriverOption>
                          {
                              new DriverOption(optionCategory, "Throw Exception", "", true, OPTION_THROW_EXCEPTION),
                          };
        }