コード例 #1
0
 public static EventCallback <ChangeEventArgs> CreateBinder <[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T>(
     this EventCallbackFactory factory,
     object receiver,
     Action <T> setter,
     T existingValue,
     CultureInfo?culture = null)
 {
     return(CreateBinderCore <T>(factory, receiver, setter, culture, ParserDelegateCache.Get <T>()));
 }
コード例 #2
0
 /// <summary>
 /// For internal use only.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="factory"></param>
 /// <param name="receiver"></param>
 /// <param name="setter"></param>
 /// <param name="existingValue"></param>
 /// <param name="culture"></param>
 /// <returns></returns>
 public static EventCallback <ChangeEventArgs> CreateBinder <T>(
     this EventCallbackFactory factory,
     object receiver,
     Action <T> setter,
     T existingValue,
     CultureInfo culture = null)
 {
     return(CreateBinderCore <T>(factory, receiver, setter, culture, ParserDelegateCache.Get <T>()));
 }