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

Provide a base type like InputFormatter for easy creation of input formatters #1222

Closed
kichalla opened this issue Oct 2, 2014 · 1 comment

Comments

@kichalla
Copy link
Member

kichalla commented Oct 2, 2014

Currently I have to implement the raw interface IInputFormatter to write an input formatter, I was looking to inherit from a base class like InputFormatter (just like OutputFormatter)...:

Its for parity in experience with Web API formatter or vNext's output formatter. Like I can just add supported media types and encodings and be sure of being provided the effective encoding when I am trying to deserialize the stream.

Otherwise currently the user would need to implement code to support stuff like...doing media type subset matching, getting the effective encoding...

@ajaybhargavb
Copy link
Contributor

13e1c9d

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants