Example #1
0
 public static IConverter <T, R> Convert <T, R>(this IAccessor <T> accessor, Expression <Action <IConstructibleMember <R> > > constructMember)
 {
     return(new ConverterImpl <T, R>(ConvertCore(accessor.Expression, ReflectionBuilder.ConstructibleMember <R>(constructMember))));
 }
Example #2
0
 public static IConverter <T, N> Convert <T, R, N>(this IConverter <T, R> converter, Expression <Action <IConstructibleMember <N> > > constructMember)
 {
     return(new ConverterImpl <T, N>(ConvertCore(converter.Expression, ReflectionBuilder.ConstructibleMember <N>(constructMember))));
 }
Example #3
0
 public static ICreator <T> Create <T>(this IAccessor <T> accessor, Expression <Action <IConstructibleMember <T> > > constructMember)
 {
     return(new CreatorImpl <T>(CreateCore <T>(accessor.Expression, ReflectionBuilder.ConstructibleMember <T>(constructMember))));
 }