public string getString(string nType, string nName)
        {
            string result = null;
            uint   type   = GenerateId._runCommon(nType);

            if (mStringTable.ContainsKey(type))
            {
                StringTable stringTable = mStringTable[type];
                result = stringTable.getString(type);
            }
            else
            {
                LogService logService_ =
                    __singleton <LogService> ._instance();

                string logError =
                    string.Format(@"StringService getString:{0}",
                                  nType);
                logService_._logError(logError);
            }
            return(result);
        }
示例#2
0
 public uint getType()
 {
     return(GenerateId._runCommon(mType));
 }