Пример #1
0
 public static MemberInfo GetMemberInfo <TInstance>(this TInstance self, Expression <Func <TInstance, object> > getMember)
 {
     return(MemberHelper.GetMemberInfo(getMember));
 }
Пример #2
0
 public static IDictionary <string, object> ToDictionary <TTarget>(this TTarget self)
 {
     return(MemberHelper.ToDictionary(self));
 }
Пример #3
0
 public static TTarget ToObject <TTarget>(this IDictionary <string, object> input)
     where TTarget : new()
 {
     return(MemberHelper.ToObject <TTarget>(input));
 }