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

Абстрагироваться от конкретной фабрики #4

Open
Ram2ES opened this issue Apr 23, 2021 · 1 comment

Comments

@Ram2ES
Copy link

Ram2ES commented Apr 23, 2021

Сделать конструктор IssueService, который принимает IIssueFactory.
Тогда внутри case останется только создание конкретной фабрики

@held-m
Copy link
Owner

held-m commented May 1, 2021

@pingvin1308 мне нравится этот рефакторинг) изменишь? )

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