.NET Portable TypeCast
3.1.0.4
A, easy-to-use tested, generic, portable, runtime-extensible, arbitrary type converter library
|
▼NCore | |
▼NTypeCast | |
▼NBase | |
CBaseClassFactoryRT | Creates instances from classes which are attributed by ConverterAttribute |
CConvertContext | Wraps the model value for the converter in a conversion-context |
CConverter | The Converter base class, providing a simple container for conversion types, ConverterAttribute and corresponding conversion functions |
CConverterCollectionDependency | The converter dependency provides loose implementation of Converters, merely constricting the constructor to be passed an IConverterCollection for Dependency Injection. It is not required due to Constructor auto-discovery provided by TypeInfoExtension.IsDependencyInjectable yet provides strict typing at compile time and a slight speedup |
CConverterFactory | Creates new instances of Converter<TIn, TOut> dependent on the source TIn and target Type TOut |
CConverterFactoryRT | Creates new instances of Converter<TIn, TOut> or Converter<TIn, TOut, TArg> dependent on the number of parameters defined in methodInfo and whether a delegate was passed. |
CDependencyInjection | The generic class used for deriving specific dependency-injection classes, used for reflection, filtering, and strict checks at compile time. |
CFactory | The abstract generic factory for creating arbitrary instances requiring up to two arguments. Use a container type such as Tuple or struct as second parameter type TIn2 if more parameters are required. |
▼NConverters | |
CConverterDefaults | Converts between object and the most common System types in the System namespace. |
CConverter | The generic, strictly-typed converter class, for type casting and simple conversions. |
CConverterAttribute | Use ConverterAttribute to declare a class as a logical Type Converter. As such the only contingent declaration contract requirement is adherence to implement a public constructor which takes a IConverterCollection collection parameter |
▼CConverterCollection | The thread-safe, static collection of Converter items, using Core.Singleton and supporting Core.Singleton.ISingleton |
CAddBuilder | Allows to perform a deferred adding operation of multiple adds using a common Base-Class Type argument, common ConverterCollectionSettings as well as a mutual CancellationToken for the added group of converters. The operation is applied upon invoking End, and can be explicitly canceled by invoking Cancel |
CConverterCollectionException | The Exception-type which is raised exclusively by the Converter<T> Library |
CConverterCollectionSettings | The settings for the ConverterCollection. |
CConverterException | The Exception-type which is raised exclusively by the Converter<TIn,TOut> Library |
CConverterMethodAttribute | Use ConverterMethodAttribute to declare a method in an arbitrary class as a logical Converter function. The only restriction towards the attributed method is a maximum of two defined function parameters. This limitation is by design, to advocate the use of the single responsibility principle, and building complex converters out of smaller ones, as implemented by a different library. Take a look at the examples and documentation for more information. |
CConverterParameters | Container with sequentially assigned type-parameters of a strictly typed Converter-Function, in the sequence of Types for: In, Out, Argument |
CDependencyInjectionException | The Exception-type which is raised exclusively by the DependencyInjection<TDependency> class |
CIConvertContext | The common IConvertContext interface. |
CIConverter | The Base Converter interface. |
CIConverterCollection | |
CIException | The common Exceptioninterface. |
CIFactory | The generic, common factory interface for declaring factories creating arbitrary object instances requiring up to two arguments. Use a container type such as Tuple or struct as second parameter TIn2 if more parameters are required. |
CIRepository | The base repository interface |
CIRepositoryEnumerable | The generic repository interface with one lookup identifier |