pMixins
pMixins copied to clipboard
pMixins - Mixin framework for C#
This should be allowed: ``` public class Mixin1 { public int Number{ get{ return 42;} } } public class Mixin2 { public int OtherNumber{ get{ return 24;} } } [pMixin(Mixin...
Keep instances of Interceptors for at least the lifetime of member invocation. Target use case if an Interceptor to measure Member performance.
Unary: ++, --, !, etc Binary: +,-, & /, etc Would need a flag on `pMixinAttribute`. Default should be `false`. This could only be done for one Mixin. Not sure...
Create a flag in pMixins that controls if an ITarget interface should be auto generated that includes references to all interfaces that the Target mixes in.
- Ninject - StructureMap
Code-behind file is not renamed correctly (suffixed with 1) and code generation stops working.
Note: This will need to wait for the IMixinDependency to be implemented in the main code base. Note: This may also require events to be mixed in. ``` public class...
Perhaps a private method scoped to the Target class? private void __OverrideMethod_FullMixinTypeName_MemberName(Func override);
Infrastructure for supporting multicast rules: public class ApplyLoggingMixin : IMixinMulticastRule { public IEnumerable MixinsForType(string FullTypeName) { yield return typeof(LoggingMixin); } }