public ClrTypeReferencingDataType(Func <TValue, TClrType> clrValueReader, Func <TClrType, TValue> clrValueWriter) { this.redirectionTargetDataType = ClrDataTypes.GetByClrType <TClrType>(); this.clrValueReader = clrValueReader; this.clrValueWriter = clrValueWriter; }
private static void Register <TClrType>(IClrDataType <TClrType> dataType) { RegisteredItems.Add(typeof(TClrType), dataType); }