protected void SetOne <T>(WriteOneDelegate <T> method) { GetOneCacheType() .MakeGenericType(typeof(T)) .GetField("Instance") .SetValue(null, method); }
public WriteBuilder Map <T>(WriteOneDelegate <T> writer) { _wm.AppendMethod(typeof(T), OpaqueType.One, writer); return(this); }