Example #1
0
        protected internal virtual MetricsInfo GetInfo(Type cls, Metrics annotation)
        {
            string name  = annotation.Name();
            string about = annotation.About();
            string name2 = name.IsEmpty() ? cls.Name : name;

            return(Interns.Info(name2, about.IsEmpty() ? name2 : about));
        }