Example #1
0
        public override string ToString()
        {
            var returnString =
                $"Key: {Key.ToKeyString()}," +
                $" DateKey: {DateKey.ToShortDateString()}," +
                $" Text: {Text}," +
                $" ParentWithSortedList: {ParentWithSortedList.ToShortString()}," +
                $" ParentWithSortedListNullable: {ParentWithSortedListNullable?.ToShortString()};";

            onToString(ref returnString);
            return(returnString);
        }
Example #2
0
        public string ToShortString()
        {
            var returnString =
                $"{Key.ToKeyString()}," +
                $" {DateKey.ToShortDateString()}," +
                $" {Text}," +
                $" {ParentWithSortedList.ToShortString()}," +
                $" {ParentWithSortedListNullable?.ToShortString()}";

            onToShortString(ref returnString);
            return(returnString);
        }