Enumeration of objects Class Library C#

  •        43

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

http://ytvenumobj.codeplex.com/

Tags
Implementation
License
Platform

   




Related Projects

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 ...

Compare Generics Objects Using Reflection


This project compare between two generics objects using reflection. The comparison executed by the given type 'T' (which is the same type for both objects) and two objects. The functionality is execute recursive! which mean that it's included comparison in the sub-objects!!!

go-enum - An enum generator for go


The goal of go-enum is to create an easy to use enum generator that will take a decorated type declaration like type EnumName int and create the associated constant values and funcs that will make life a little easier for adding new values. It's not perfect, but I think it's useful.I took the output of the Stringer command as the String() method, and added a way to parse a string value.

EnumerableBehavior - CakePHP behavior to create enumeration (not database enum type)


CakePHP behavior to create enumeration (not database enum type)

reflekto - A library to simplify java reflection with generics


A library to simplify java reflection with generics



generic-dao - Generic Dao for Java Generics and Enum + Spring + Hibernate


Generic Dao for Java Generics and Enum + Spring + Hibernate

pkgreflect - A Go preprocessor for package scoped reflection


Problem: Go reflection does not support enumerating types, variables and functions of packages.If -norecurs is not set, then pkgreflect traverses recursively into sub-directories. If no DIR_NAME is given, then the current directory is used as root.

control-monad-omega - A Haskell monad for fair enumeration of infinite sets.


A Haskell monad for fair enumeration of infinite sets.

venum - Verifiably better, validated Enum for Python


venum provides an Enum that is actually just a namedtuple, but easier to create. This means an Enum doesn't have to be defined before program execution (similar to the functional API) and members are truly immutable (can't dynamically add new ones). Also, this saves a bit of memory over the stdlib's Enum.No need for .value.

magic-enum - Method used to define ENUM-like attributes in your model (int fields actually)


Method used to define ENUM-like attributes in your model (int fields actually)

Aabs Dbc


The DBC framework uses reflection to inspect a type, it then generates source for a proxy object containing checks on predicates in attributes attached to members of the type. Proxy code is compiled into an in-mem assembly used to enforce DBC rules.

has_enums - Gem for Rails to easily handle enumeration attributes in models


Gem for Rails to easily handle enumeration attributes in models

rack-enum - Functional Enumeration in Racket


Functional Enumeration in Racket

enum-Ladder-Lottery - E?cient Enumeration of All Ladder Lotteries


E?cient Enumeration of All Ladder Lotteries

enum-paradise - Scala enumeration implementation using type macros


Scala enumeration implementation using type macros

enumattributes - Yii ActiveRecord behavior used to work with ENUM attributes


Yii ActiveRecord behavior used to work with ENUM attributes

magic_numbers - ActiveRecord plugin for transparent enum and bitfield model attributes


ActiveRecord plugin for transparent enum and bitfield model attributes

attr_enum - Rails plugin for enum style attributes


Rails plugin for enum style attributes

EnumAnnotation - Enum wrapper for more conviently accessing the Data Annotations Attributes


Enum wrapper for more conviently accessing the Data Annotations Attributes

php-enums


PHP library providing enumeration functionality similar to Java. It differs from existing libraries by offering one-shot enum constructors through static initialization, enum iteration, equality support and fine-grained value, ordinal and binary lookups.