9 namespace Core.TypeCast
12 using System.Collections.Concurrent;
13 using System.Reflection;
14 using System.Threading;
25 ConcurrentDictionary<Assembly, bool> AssemblyInitialized {
get; }
31 BlockingCollection<Converter> Items {
get; }
51 IConverterCollection Add(
Converter converter, Type baseType = null,
bool allowDisambiguates =
false, CancellationToken cancellationToken =
default(CancellationToken));
63 IConverterCollection Add<TIn, TOut>(Func<TIn, TOut> converterAction, Type baseType = null, CancellationToken cancellationToken =
default(CancellationToken));
76 IConverterCollection Add<TIn, TOut, TBase>(Func<TIn, TOut> converterAction, CancellationToken cancellationToken =
default(CancellationToken)) where TBase :
class;
90 IConverterCollection Add<TIn, TArg, TOut>(Func<TIn, TArg, TOut> converterActionAny, Type baseType = null, CancellationToken cancellationToken =
default(CancellationToken));
103 IConverterCollection Add<TIn, TOut, TBase>(Func<TIn, TOut, TOut> converterAction, CancellationToken cancellationToken =
default(CancellationToken)) where TBase :
class;
112 IConverterCollection Add(
object converterDelegate, Type baseType = null, CancellationToken cancellationToken =
default(CancellationToken));
122 IConverterCollection Add<TBase>(
object converterDelegate, CancellationToken cancellationToken =
default(CancellationToken)) where TBase :
class;
The settings for the ConverterCollection.
The Converter base class, providing a simple container for conversion types, ConverterAttribute and c...