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#
- Host: GitHub
- URL: https://github.com/jordao76/nroles
- Owner: jordao76
- License: other
- Created: 2015-03-14T03:30:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-12-24T16:10:35.000Z (over 8 years ago)
- Last Synced: 2025-10-15T18:15:07.820Z (9 months ago)
- Topics: c-sharp, composition, role, trait
- Language: C#
- Homepage:
- Size: 4.23 MB
- Stars: 22
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# NRoles
[](https://www.nuget.org/packages/NRoles/)
[](https://ci.appveyor.com/project/jordao76/nroles)
[](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).