Type System
Helpers for converting, checking, and conditionally invoking based on runtime types — the kind of thing you write once per project and then copy into every new one.
Pages in this section
- String Converters — pluggable
string → Tconversion with a registry. - Type Checking — safe
TryConvert/Converthelpers that don't throw when you don't want them to. - Conditional Invoke — "do this if the object is
T" without manualis/asdances. - Pattern Matching —
WhenType<T>for chained type-based handlers.
Namespace map
| Namespace | Types |
|---|---|
Servus.Conversion | IStringValueConverter, BoolValueConverter, IntegerValueConverter, FloatValueConverter, DoubleValueConverter, StringValueConverter, StringConverterCollection |
Servus.Reflection | InterfaceInvokeExtensions, TypeCheckExtensions |
Servus.Functional | TypeExtensions (WhenType) |
