Pipe Extensions
Impetus
I believe the forward pipe operator is one of the most crucial operators to create concise and readable code. I know that's a pretty crazy statement, but I do honestly believe it.
When I found out there's not a way to make a forward pipe operator in C#, I built a library.
Be careful with this. This dependency is a lot like Automapper, once you expose your codebase to it, it can be hard to remove.
Features
- Compatible with most versions of dotnet: And it would have been much easier if I didn't take the time to do that.
- Pass multiple types: Using tuples, you can pass up to three variables as parameters to the next function.
- Install through NuGet: Because it's important to use the right channels.
- Dependency-less: You only install the code itself.
Links
Tech stack
- C#... Just C#