Skip to content

Instantly share code, notes, and snippets.

@ankitvijay
Last active June 13, 2020 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ankitvijay/f509904b618b7c1f9fb08cf8a067cbf2 to your computer and use it in GitHub Desktop.
Save ankitvijay/f509904b618b7c1f9fb08cf8a067cbf2 to your computer and use it in GitHub Desktop.
Part 3 Enumeration classes - EnumerationQueryParameterModelBinder
public static class EnumerationQueryStringModelBinder
{
public static EnumerationQueryStringModelBinder<T> CreateInstance<T>()
where T : Enumeration
{
return new EnumerationQueryStringModelBinder<T>();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment