示例#1
0
        public override string ToString()
        {
            var returnString =
                $"Key: {Key.ToKeyString()}," +
                $" Text: {Text}," +
                $" LookupParent: {LookupParent.ToShortString()}," +
                $" LookupParentNullable: {LookupParentNullable?.ToShortString()};";

            onToString(ref returnString);
            return(returnString);
        }
示例#2
0
        public string ToShortString()
        {
            var returnString =
                $"{Key.ToKeyString()}," +
                $" {Text}," +
                $" {LookupParent.ToShortString()}," +
                $" {LookupParentNullable?.ToShortString()}";

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