private I Action(Expression <Action <T> > expression, Func <object[], object> action) { var name = ExpressionUtils.GetMethodSymbol(expression); return(EnhanceWith(new ObjectTypeConfig <S, T> { Actions = new IActionProperty[] { new ActionProperty { Name = name, Action = action } } })); }