This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
ConfigurationBinder to support more property types #216
Closed
Description
Currently the ConfigurationBinder
supports only the base types and Enums.
How about adding
Type
: Expressed as string, e.g. "System.String" or "System.String, System" to include the assemblyTimeSpan
: Commonly used for timeout properties. Expressed as string:"356.23:59:59.999999"
which can be parsed viaTimeSpan.Parse
DateTimeOffset
?
Note: There was a similar feature tracked on the Options repo: aspnet/Options#29, now the binder lives in here in Configuration ;)