Cilador.Fody (nuget): Create your own custom, rich C# mixins with Cilador! Mixins are the perfect DRY solution for sharing code without abusing inheritance.  Supports: Mixins containing fields, methods, properties, events, and nested types. Generics mixins and mixin members, so long as the top-level mixin implementation is closed. (Members and nested types can be open.) Public, private, protected, internal, and protected internal members. Static members. Custom attributes on members. Virtual members. Abstract nested types and abstract members within these nested types. Generic nested types and generic members. Parameterless constructors for mixin implementations. Type initializers (i.e. static constructors) in mixin implementations  Unsupported: Parameters on mixin implemenation constructors. Unmanaged code calls (extern) Security attributes Mixins implementing multiple interfaces Mixins with base types other than object Value type mixins  Unhandled: Naming collisions  Please consider this version of Cilador.Fody to be pre-release.
Keywords: Mixins|Mixin|BehaviorComposition|TypeComposition|ILWeaving|CodeWeaving|Inheritance|Fody|Cecil|CIL