ICoercer
Description
Coerce a completion string to a desired type.
Public Member Functions | |
object | Coerce (string input, Type desiredType) |
Coerce or lookup an input string to a particular type. More... | |
Properties | |
Type | defaultType [get] |
What is the default or preferred type for this Coercer. More... | |
Member Function Documentation
object Coerce | ( | string | input, |
Type | desiredType | ||
) |
Coerce or lookup an input string to a particular type.
- Note
- Not strictly parsing or coercision because it can do lookups.
Implemented in ListCompleter< T >.
Property Documentation
|
get |
What is the default or preferred type for this Coercer.
This does not mean that the Coerce method cannot produce a radically different type.