An open API service indexing awesome lists of open source software.

https://github.com/jordao76/nroles

Roles (similar to traits) in C#
https://github.com/jordao76/nroles

c-sharp composition role trait

Last synced: 5 months ago
JSON representation

Roles (similar to traits) in C#

Awesome Lists containing this project

README

          

# NRoles

[![NuGet version](http://img.shields.io/nuget/v/NRoles.svg)](https://www.nuget.org/packages/NRoles/)
[![AppVeyor build](https://img.shields.io/appveyor/ci/jordao76/nroles.svg)](https://ci.appveyor.com/project/jordao76/nroles)
[![License](http://img.shields.io/:license-mit-blue.svg)](https://github.com/jordao76/nroles/blob/master/LICENSE.txt)

NRoles is an experiment with roles in C#. Roles, very similar to traits, are high level constructs that promote better code reuse through easier composition. NRoles is a post-compiler created with [Mono.Cecil](http://www.mono-project.com/Cecil) that transforms an assembly to enable roles and compositions.

More info [here](https://github.com/jordao76/nroles/blob/wiki/ProjectHome.md).

## License

Licensed under the [MIT license](https://github.com/jordao76/nroles/blob/master/LICENSE.txt).