예제 #1
0
 public DriverOption(DriverOptionCategory category, string name, string synopsis, bool defaultValue, int id)
 {
     Id = id;
     Category = category;
     Name = name;
     Synopsis = synopsis;
     DefaultValue = defaultValue;
 }
예제 #2
0
파일: FakeDriver.cs 프로젝트: pclancy/ODBX
        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),
                          };
        }