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