示例#1
0
 public static TDelegate GetterAs <TDelegate>(this FieldInfo fieldInfo)
     where TDelegate : class
 {
     return((TDelegate)(object)FieldDelegateCache.GetterAs(fieldInfo, typeof(TDelegate)));
 }
示例#2
0
 public static Delegate GetterAs(this FieldInfo fieldInfo, Type delegateType)
 {
     return(FieldDelegateCache.GetterAs(fieldInfo, delegateType));
 }