Exemplo n.º 1
0
 protected void SetOne <T>(ReadOneDelegate <T> method)
 {
     GetOneCacheType()
     .MakeGenericType(typeof(T))
     .GetField("Instance")
     .SetValue(null, method);
 }
Exemplo n.º 2
0
 public ReadBuilder Map <T>(ReadOneDelegate <T> reader)
 {
     _rm.AppendMethod(typeof(T), OpaqueType.One, reader);
     return(this);
 }