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

не генерирует конструктор если указать [Inject] только для класса #3

Closed
SergeyHoroshun opened this issue Mar 31, 2021 · 1 comment
Assignees

Comments

@SergeyHoroshun
Copy link

похоже, ошибка там где определяется порядок параметров

var orderedFields = fields.OrderBy(x => x.GetAttributes()
.First(e => e.AttributeClass.Name == nameof(InjectAttribute))
.ConstructorArguments.FirstOrDefault().Value ?? default(int)).ToList();

@Skyuzii Skyuzii self-assigned this Mar 31, 2021
Skyuzii added a commit that referenced this issue Mar 31, 2021
@Skyuzii
Copy link
Owner

Skyuzii commented Mar 31, 2021

Спасибо, что сообщили. Пофиксил

@Skyuzii Skyuzii closed this as completed Mar 31, 2021
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

No branches or pull requests

2 participants