Have a list of some type T? Use ListCompleter<T>.

Have a simple list of strings? Use ListCompleter.

Public Member Functions

 ListCompleter (IEnumerable< T > list)
 Requires a list.
IEnumerable< string > Complete (string input)
 Return a list of matching strings for the given input.
object Coerce (string input, Type type)
 If there is some kind of object associated with the input string, return it.
 ListCompleter (IEnumerable< string > list)
 Requires a list of strings.
 ListCompleter (params string[] list)
 Requires a list of strings.

Additional Inherited Members

- Properties inherited from ICoercer
Type defaultType [get]
 What is the default or preferred type for this Coercer. More...