Example #1
0
        public static string GetDescription(this PropertyAttribute prop)
        {
            var description = prop.GetAttributeOfType <DescriptionAttribute>();

            return(description?.Description ?? prop.ToString());
        }