Skip to content

Большаков Николай#235

Open
stupidnessplusplus wants to merge 13 commits intokontur-courses:masterfrom
stupidnessplusplus:master
Open

Большаков Николай#235
stupidnessplusplus wants to merge 13 commits intokontur-courses:masterfrom
stupidnessplusplus:master

Conversation

@stupidnessplusplus
Copy link
Copy Markdown

Comment on lines +10 to +12
[SetCulture("")]
public class PrintingConfigTests
{
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Не хватает тестов где свойство в поле какой-то класс

Comment on lines +47 to +50
if (path != null && path.Contains(propertyValue.Value))
{
throw new InvalidOperationException("Unable to print object with cyclic reference.");
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Корректная обработка циклических ссылок между объектами. Для меня корректная обработка не должна приводить к ошибкам

Comment on lines +8 to 10

public class ObjectPrinter
{
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

на мой взгляд класс достаточно тяжело читается, классическая рекурсия тут бы выйграла для чтения

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants