コード例 #1
0
 public ClrTypeReferencingDataType(Func <TValue, TClrType> clrValueReader, Func <TClrType, TValue> clrValueWriter)
 {
     this.redirectionTargetDataType = ClrDataTypes.GetByClrType <TClrType>();
     this.clrValueReader            = clrValueReader;
     this.clrValueWriter            = clrValueWriter;
 }
コード例 #2
0
 private static void Register <TClrType>(IClrDataType <TClrType> dataType)
 {
     RegisteredItems.Add(typeof(TClrType), dataType);
 }