lawrence-laz / poem

A selection of useful extension methods to write fluent code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NuGet Version NuGet Downloads Build Codacy Badge Codacy Badge

Poem

Poem is a selection of useful extension methods that can be used to write fluent code. All Poem methods return one of the parameters to allow creating a chain of method calls.

Get started

Download from nuget.org:

PS> Install-Package Poem

Start using it right away!

Enumerable
    .Range(1, 4)
    .ForEach(Console.WriteLine); // <-- this comes from Poem!

// Output:
// 1
// 2
// 3

🔴 For more examples look here.

Improvements

Do you have an idea for a fluent extension method that would fit this package?

Great!

You can either:

  1. Fork this repo, add the method and raise a pull request. We will work together to get it merged! 😉
  2. Create an issue explaining the extension method, where and how it would be used. We will work together on designing it and then someone (probably I) will implement the method.

Icon by smashicons.

About

A selection of useful extension methods to write fluent code.

License:MIT License


Languages

Language:C# 100.0%