예제 #1
0
        public static IIniWrapper CreateWithIniParser(this IIniWrapperFactory iniWrapperFactory, Action <IniSettings> iniSettings)
        {
            var settings = new IniSettings();

            iniSettings(settings);

            return(iniWrapperFactory.CreateWithIniParser(settings));
        }
예제 #2
0
        public static IIniWrapper CreateWithIniParser(this IIniWrapperFactory iniWrapperFactory, IniSettings iniSettings)
        {
            var parser = new IniParserAdapter(iniSettings);

            return(iniWrapperFactory.Create(iniSettings, parser));
        }