Пример #1
0
        protected IFileMapping LoadINIPath(string root, string locale, string file)
        {
            IFile iniFile = disk.File(root + System.IO.Path.AltDirectorySeparatorChar + locale + System.IO.Path.AltDirectorySeparatorChar + file + ".ini");

            if (!iniFile.Exists)
            {
                return(null);
            }
            IINIResult result = iniLoader.Load(iniFile);

            return(new INIMapping(result));
        }
Пример #2
0
 public INIMapping(IINIResult result)
 {
     this.result = result;
 }