Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

Support DI, instance, and Func options for UseMiddleware #8

Closed
HaoK opened this issue Sep 18, 2014 · 1 comment
Closed

Support DI, instance, and Func options for UseMiddleware #8

HaoK opened this issue Sep 18, 2014 · 1 comment

Comments

@HaoK
Copy link
Member

HaoK commented Sep 18, 2014

Want 3 versions of AddFooMiddleware

UseFoo() which uses DI to fetch FooOptions
UseFoo(Func<IServiceProvider, FooOptions)
UseFoo(FooOptions)

Applies to at least Identity + auth middlewares

@HaoK
Copy link
Member Author

HaoK commented Oct 8, 2014

Only added support for Options via accessor or action, no overload for Func/options instance currently

@HaoK HaoK closed this as completed Oct 8, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant