public override string ToString() { var returnString = $"Key: {Key.ToKeyString()}," + $" Text: {Text}," + $" CreateOnlyParent: {CreateOnlyParent.ToShortString()}," + $" CreateOnlyParentNullable: {CreateOnlyParentNullable?.ToShortString()};"; onToString(ref returnString); return(returnString); }
public string ToShortString() { var returnString = $"{Key.ToKeyString()}," + $" {Text}," + $" {CreateOnlyParent.ToShortString()}," + $" {CreateOnlyParentNullable?.ToShortString()}"; onToShortString(ref returnString); return(returnString); }