예제 #1
0
        //public CultureInfo CultureInfo { get { return _ci; } }

        #region public method
        public FileInfo GetXmlFile(string uiConfigID)
        {
            FileInfo fileInfo = _fileBuffer.Find(x => x.FileID == uiConfigID);

            if (fileInfo == null)
            {
                string uiConfigPath = _registries.GetUIConfigFilePath(uiConfigID);
                if (string.IsNullOrEmpty(uiConfigPath))
                {
                    return(null);
                }

                BxXmlFile file = new BxXmlFile(uiConfigID, uiConfigPath);
                fileInfo = new FileInfo(uiConfigID, file);
                _fileBuffer.Add(fileInfo);
            }
            return(fileInfo);
        }
예제 #2
0
 public FileInfo(string fileID, BxXmlFile file)
 {
     _fileID = fileID; _file = file;
 }
예제 #3
0
 public FileInfo(string fileID)
 {
     _fileID = fileID; _file = null;
 }