Esempio n. 1
0
        public override string ToString()
        {
            var notation = string.Empty;

            if (FileCached)
            {
                notation += @"Total
FileData Cached";
            }

            var Values = string.Empty;

            foreach (var item in ValueDurations)
            {
                if (Values == string.Empty)
                {
                    Values += $"v:{item.Name} = {item.Value}";
                }
                else
                {
                    Values += $@"
v:{item.Name} = {item.Value}";
                }
            }

            return($@"{notation}Non Lazy Value(s) Count {Count}
{Values}
Add SourceType Duration {AddSourceTypeDuration.ToShortReadableString()}
Non Lazy Total Duration {TotalDuration.ToShortReadableString()}");
        }
        public override string ToString()
        {
            return($@"TotalMS {Math.Round(TotalTimeDuration.TotalMilliseconds)} | AvgMS {Math.Round(AverageTimeMS)}
Total {TotalTimeDuration.ToShortReadableString()}
Total FileData Duration {TotalDuration.ToShortReadableString()}

{InitializeFileDetail}

{Detail}");
        }