string IStringIdContainer.GetStringIdValue(StringId sid)
        {
            string value = GetValue(sid);

            if (value == null)
            {
                throw new KeyNotFoundException(sid.ToString());
            }

            return(value);
        }
コード例 #2
0
ファイル: StringIdManager.cs プロジェクト: CodeAsm/open-sauce
		public string GetStringIdValue(StringId sid)
		{
			string value = m_staticCollection.GetValue(sid);

			if (value == null)
				value = m_dynamicCollection.GetValue(sid);

			if (value == null)
				throw new KeyNotFoundException(sid.ToString());

			return value;
		}
コード例 #3
0
        public string GetStringIdValue(StringId sid)
        {
            string value = m_staticCollection.GetValue(sid);

            if (value == null)
            {
                value = m_dynamicCollection.GetValue(sid);
            }

            if (value == null)
            {
                throw new KeyNotFoundException(sid.ToString());
            }

            return(value);
        }