Esempio n. 1
0
        /// <summary>
        /// Returns a <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>.
        /// </summary>
        /// <returns>
        /// A <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>.
        /// </returns>
        public override string ToString()
        {
            if (string.IsNullOrEmpty(SubValue))
            {
                return(EntityType + ": " + Value + "; ");
            }

            return(EntityType + ": " + Value + " ( " + StringEnum.GetString(EntitySubType) + " : " + SubValue.CapitalizeAll() + " )");
        }