ppittle / pMixins

pMixins - Mixin framework for C#
http://pMixins.com
Apache License 2.0
23 stars 5 forks source link

Allow Custom PMixin aggregate attributes #30

Open ppittle opened 10 years ago

ppittle commented 10 years ago

This should be allowed:

                           public class Mixin1
                            {
                                public int Number{ get{ return 42;} }
                            }

                            public class Mixin2
                            {
                                public int OtherNumber{ get{ return 24;} }
                            }

                            [pMixin(Mixin = typeof(Mixin1))]
                            [pMixin(Mixin = typeof(Mixin2))]
                            public class CustomPMixinsAttribute : Attribute
                            {                               
                            }

                            [CustomPMixins]                           
                            public partial class Target
                            {                                
                            }