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