This change simplifies IFormatFilter's API and removes the dependency on IActionContext accessor. The old API for IFormatFilter required computing state based on the current request as part of the constructor, which in turn implied the use of a context accessor. This isn't really needed. I didn't preserve caching of the 'format' as that seems like an early optimization. |
||
|---|---|---|
| .. | ||
| FormatFilterTest.cs | ||
| FormatterCollectionTest.cs | ||
| FormatterMappingsTest.cs | ||
| HttpNotAcceptableOutputFormatterTest.cs | ||
| InputFormatterTest.cs | ||
| NoContentFormatterTests.cs | ||
| OutputFormatterTests.cs | ||
| StreamOutputFormatterTest.cs | ||
| StringOutputFormatterTests.cs | ||