public void Setup()
 {
     _iniFileSettingsSource = new IniFileSettingsSource(new string[] {
         "key1=This is a string with spaces",
         "[Section.A]",
         "ScanInterval=00:25:00",
         "#comment",
         "[OtherSection]",
         "key3=300"
     });
 }
Пример #2
0
 public void Setup()
 {
     _iniFileSettingsSource = new IniFileSettingsSource(new string[] {
         "key1=This is a string with spaces",
         "[Section.A]",
         "ScanInterval=00:25:00",
         "#comment",
         "[OtherSection]",
         "key3=300",
         "", //empty line
         "[:PROD]",
         "root=root:PROD",
         "[SectionWithEnv:PROD]",
         "a=SectionWithEnv.a:PROD",
         "b=SectionWithEnv.b:PROD",
         "c.d=SectionWithEnv.c.d:PROD"
     });
 }