/// <summary>
 /// Gets the <see cref="measureDecadeSystem"/> with the specified key.
 /// </summary>
 /// <value>
 /// The <see cref="measureDecadeSystem"/>.
 /// </value>
 /// <param name="key">The key.</param>
 /// <returns></returns>
 public measureDecadeSystem this[measureSystemsEnum key]
 {
     get
     {
         return(base[key.ToString()]);
     }
     internal set
     {
         Add(key.ToString(), value);
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="measureDecadeSystem"/> class.
        /// </summary>
        /// <param name="__name">The name.</param>
        public measureDecadeSystem(measureSystemsEnum __name)
        {
            name = __name.ToString();

            if (name == measureSystemsEnum.unknown.ToString())
            {
                name = this.GetType().Name;
            }
        }