-
Notifications
You must be signed in to change notification settings - Fork 420
[Proposal] Fluent parametrisation #635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I understand the motivation and sometimes I think it's a good way (see |
Simple cases will not need parametrization. |
What are the non-simple ones? Most of your examples cite |
Current I do tried an implementation of In the search of a good way to add functionality, the fluent parameterization is a convenient way to build the ugly "should we continue" predicate from #640. It's allocate object on query creation (but not more than any linq request). And I believe that the For a For An other example of use is input.Window(10)
.WithLeft()
.WithRight()
.WithEndPadding(0);
.WithFirstValuePadding(); Or input.Lead(10).WithPadding(padValue);
input.Lead(10).WithLastValuePadding();
input.Lead(10).WithoutOverflow(); |
|
I would love to see this proposal going live as I need to work on IEnumerable<dynamic> (not POCO) the same way we see it here. |
This is a proposal to unify lookalike methods.
An example of use with
Zip
is :Here are the methods signatures:
The fluent parametrisation pattern have some rules:
Finally I expose the possibilities for Zip here as an example:
We have much more flexibility, for each source we can use one of those behavior :
The text was updated successfully, but these errors were encountered: