Enum Utilities Library

  •        73

The Enum Utilities Library provides a collection of utility methods and classes to operate on regular enums and flag enums. Features include: * Bit shifting enums * Generating Bitmasks * LINQ queries against enums * Testing flag enums * Enum Extension methods * And more!




Related Projects

F# 3.0 Sample Pack

F# 3.0 sample package present more than 200 samples covers from high leve system design to low level bitwise operation.

SSIS Foreach Folder Enumerator

The SSIS Foreach Folder Enumerator allows you to get older folders instead of files. And it also has a sort option (date, name or path).

roslyn-linq-rewrite - Compiles C# code by first rewriting the syntax trees of LINQ expressions using plain procedural code, minimizing allocations and dynamic dispatch

This tool compiles C# code by first rewriting the syntax trees of LINQ expressions using plain procedural code, minimizing allocations and dynamic dispatch.Allocations: input array, array enumerator, closure for q, Where delegate, Select delegate, Where enumerator, Select enumerator.

CSO Gateway - An object-oriented alternative to JSON

The CSO Gateway library will recursively explore the classes, structs interfaces and enums in the inheritance hierarchy and composition graph of an object, create equivalent types in javascript and then create an equivalent object on the client side.

simple_enum - Simple enum-like field support for ActiveModel (including validations and i18n)

Unobtrusive enum-like fields for ActiveRecord and Ruby, brings enums functionality to ActiveRecord and Mongoid models (built for Rails 4+). Note: a recent search on github for enum turned out, that there are many, many similar solutions. In fact starting with Rails 4.1, there's ActiveRecord::Enum which provides some of the functionality, but is IMHO pretty limited and too strict in the defaults it provides.

Salient WebControls EnumDataSource

EnumDataSource is and asp.net DataSourceControl for enum member information. While there are many ways that enum information can be used the utility of EnumDataSource is most apparent in the case of grid cell ComboBox lookups for database fields that are based on numeric enum...

SpecializedEnum: a base class to allow enum-like behavior with arbitrary objects

This class uses readonly variables, reflection, generics, and an internal ordered list to provide behavior similar to that of an enum but with arbitrary objects or value types rather than only integer numeric types. Public static readonly variables can be added in the derived ...

Enums.NET - Enums.NET is a high-performance type-safe .NET enum utility library

Enums.NET is a high-performance type-safe .NET enum utility library which provides many operations as convenient extension methods. It is available as a NuGet Package and is compatible with .NET Framework 2.0+ and .NET Standard 1.0+.I'm trying to integrate some of Enums.NET's improvements into corefx so if interested in its progress please check out the proposal here.

enumeratum - A type-safe, reflection-free, powerful enumeration implementation for Scala with exhaustive pattern match warnings and helpful integrations

Enumeratum is a type-safe and powerful enumeration implementation for Scala that offers exhaustive pattern match warnings, integrations with popular Scala libraries, and idiomatic usage that won't break your IDE. It aims to be similar enough to Scala's built in Enumeration to be easy-to-use and understand while offering more flexibility, type-safety (see this blog post describing erasure on Scala's Enumeration), and richer enum values without having to maintain your own collection of values. Enumeratum is published for Scala 2.10.x, 2.11.x, and 2.12.x as well as ScalaJS.

redis-rs - Redis library for rust

Redis-rs is a high level redis library for Rust. It provides convenient access to all Redis functionality through a very flexible but low-level API. It uses a customizable type conversion trait so that any operation can return results in just the type you are expecting. This makes for a very pleasant development experience.Documentation on the library can be found at mitsuhiko.github.io/redis-rs.


GraphicsMagick is the swiss army knife of image processing. It provides a robust and efficient collection of tools and libraries which support reading, writing, and manipulating an image in over 88 major formats including important formats like DPX, GIF, JPEG, JPEG-2000, PNG, PDF, PNM, and TIFF.

Better Azure Table Storage

Better Azure Table Storage provides an API for accessing Azure Table Storage. Functionality includes querying multiple inherited types out of the same table and support for Enum properties.

MVC Enum Flags

HtmlHelper extension and model binder for working with [flags]-type enum values in ASP.NET MVC.

Enumeration of objects Class Library C#

At core level in Java I like extension of traditional enum type permiting use as the elements instances of a class. The project implements the same idea by C# with some more advanced features like a set type with boolean operators extending idea of FlagsAttribute

stateful_enum - A very simple state machine plugin built on top of ActiveRecord::Enum

stateful_enum is a state machine gem built on top of ActiveRecord's built-in ActiveRecord::Enum. And bundle.

fragnums - An enum based library to replace fragments.

An enum based library to replace fragments, because #perfmatters. “Frag your app complexity today!” - Zach K.

Unit Conversion Library

Unit Conversion Library is a .Net 2.0 based library, containing static methods for all the Units Set present in Windows 7 calculator. "Angle", "Area", "Energy", "Length", "Power", "Pressure", "Temperature",Time", "Velocity", "Volume", "Weight/Mass".