This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
IFeatureCollection indexer is pretty bad #414
Closed
Description
This usage is pretty awful:
var feature = httpContext.Features[typeof(IServiceProvidersFeature)] as IServiceProvidersFeature;
It doesn't show up in intellisense, and GetFeature/SetFeature don't appear on HttpContext...
Didn't we have something more like this at one point?
var feature = yadda.GetFeature<IServiceProvidersFeature>();