Giter VIP home page Giter VIP logo

woz.linq's Introduction

Woz.Linq

Now released under Unlicense (http://unlicense.org)

A compact lightweight thread safe IOC library for .NET compiled against .NETStandard 1

Background

While this might appear to be a new project it is a compilation of various Linq extras I have created over the years.

Extras for IEnumberable

Functionality

  • ToEnumerable = Wrap a value in an IEnumerable
  • Concat = Add a value to the end of an IEnumberable
  • MinOrElse = Get the Min of an IEnumberable or return a default when empty
  • MaxOrElse = Get the Max of an IEnumberable or return a default when empty
  • MinBy = Get the element with the Min value identified by a selector
  • MinByOrElse = Get the element with the Min value identified by a selector or run element factory when empty
  • MaxBy = Get the element with the Max value identified by a selector
  • MaxByOrElse = Get the element with the Max value identified by a selector or run element factory when empty
  • DistinctBy - Get the distinct elements using a selected key
  • Each = Foreach but lambda based

Extras for IEnumerator and IEnumerator<T>

Functionality

  • ToArray = Read the IEnumerator and buffer into an array
  • ToEnumerable = Convert the IEnumerator into and IEnumberable
  • Select = Run a selector over the IEnumerator and return as an IEnumberable

woz.linq's People

Contributors

wozsoftware avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

jtone123

woz.linq's Issues

Create DistinctBy

This will be a compromise in that it will use the first instance in a grouping. But is a handy shortcut.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.