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

Add middleware support #7

Closed
6 tasks done
Arvtesh opened this issue Jan 14, 2020 · 0 comments
Closed
6 tasks done

Add middleware support #7

Arvtesh opened this issue Jan 14, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@Arvtesh
Copy link
Owner

Arvtesh commented Jan 14, 2020

Add ASP.NET-like middleware support. Middleware is a delegate with a signature:

public delegate Task PresentDelegate(IPresentService presenter, IViewControllerInfo controllerInfo);

Middleware is added via PresenterBuilder and should be invoked before controller creation in the same order as they were registered.

ASP.NET middleware reference.

  • Add the PresentDelegate.
  • Add new methods to PresenterBuilder class.
  • Change Presenter implementation.
  • Write documentation.
  • Add unit-tests.
  • Update README.
@Arvtesh Arvtesh added this to the 0.3.0 milestone Jan 14, 2020
@Arvtesh Arvtesh self-assigned this Jan 14, 2020
@Arvtesh Arvtesh closed this as completed Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant