ppittle / pMixins

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

Mixin's Generic Interfaces are not applied correctly to Target #20

Closed ppittle closed 10 years ago

ppittle commented 10 years ago

Generic Type Parameters are not correctly resolved:

interface IExample<T>{}

class Mixin<T> : IExample<T>{}

[pMixin(Mixin = typeof(Mixin<int>)]
partial class Target{}

Expected code-behind:

partial class Target : IExample<int>

Current behavior:

partial class Target : IExample<T>
ppittle commented 10 years ago

Fixed