UserListConverter
A class in Root.Township, the global namespace.
Type converter that turns a comma-separated console argument into a UserList of UserInfoAccess entries (ids or lowercased names).
- Listed in Global namespace: T to X
- Inherits or implements
TypeConverter
Constructors
| Member | What it is |
|---|---|
UserListConverter() | Creates an UserListConverter with default values. |
Methods
| Member | What it is |
|---|---|
override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) | True for strings. |
override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) | Splits the lowercased string on commas and makes a UserInfoAccess from each trimmed part, by id if numeric. |