Skip to content

Conversation

@Absolemus
Copy link
Contributor

Для тех случаев, когда рефлектор возвращает данные не из объекта, а из типа объекта
@EvilBeaver, прошу проверить

}

reflectedParam.SetDefaultValue(unknownVal);
reflectedParam.SetDefaultValue(currentParam.DefaultValue);
Copy link
Owner

Choose a reason for hiding this comment

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

Вот этот надо внутрь пустого условия
на стр. 183 затащить

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Готово. Может тогда в методе, который вытягивает данные из объекта, такое же поведение указать? Просто там у нас всегда устанавливается DefaultValue, вне зависимости от флага

@EvilBeaver EvilBeaver merged commit 1c59761 into EvilBeaver:latest Dec 27, 2022
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