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

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

            return(value);
        }
Example #2
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;
		}
        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);
        }