Skip to content

Commit e5ff593

Browse files
committed
fix EvilBeaver#1602: преобразование ЭлементСпискаЗначений в строку +тест
1 parent e5188ef commit e5ff593

File tree

2 files changed

+416
-394
lines changed

2 files changed

+416
-394
lines changed

src/OneScript.StandardLibrary/Collections/ValueList/ValueListItem.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,8 @@ public IValue Picture
7676
}
7777
}
7878
}
79+
80+
public override string ToString()
81+
=> !String.IsNullOrEmpty(_presentationHolder) ? _presentationHolder : Value.ToString();
7982
}
8083
}

0 commit comments

Comments
 (0)