PageCollectionConverter
A class in Root.Township, Alta.Pages.
TypeConverter that turns a string into a PageCollection by name. Nothing in this build attaches it to a type.
- Listed in Items, inventory and logic
- Inherits or implements
TypeConverter
Constructors
| Member | What it is |
|---|---|
PageCollectionConverter() | Creates a PageCollectionConverter with default values. |
Methods
| Member | What it is |
|---|---|
override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) | True for strings, otherwise defers to the base converter. |
override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) | Finds the PageCollection whose name matches the string, ignoring case. Logs and returns null if there is none. |