Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

stupidnessplusplus
Copy link

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

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.");
}

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
{

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