Last active
June 13, 2020 21:00
-
-
Save ankitvijay/f509904b618b7c1f9fb08cf8a067cbf2 to your computer and use it in GitHub Desktop.
Part 3 Enumeration classes - EnumerationQueryParameterModelBinder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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