{"action":"opened","issue":{"url":"https://api.github.com/repos/pgenfer/mixinSharp/issues/13","repository_url":"https://api.github.com/repos/pgenfer/mixinSharp","labels_url":"https://api.github.com/repos/pgenfer/mixinSharp/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/pgenfer/mixinSharp/issues/13/comments","events_url":"https://api.github.com/repos/pgenfer/mixinSharp/issues/13/events","html_url":"https://github.com/pgenfer/mixinSharp/issues/13","id":154747757,"number":13,"title":"Add mixin's interface to interface list of child class","user":{"login":"pgenfer","id":16539711,"avatar_url":"https://avatars.githubusercontent.com/u/16539711?v=3","gravatar_id":"","url":"https://api.github.com/users/pgenfer","html_url":"https://github.com/pgenfer","followers_url":"https://api.github.com/users/pgenfer/followers","following_url":"https://api.github.com/users/pgenfer/following{/other_user}","gists_url":"https://api.github.com/users/pgenfer/gists{/gist_id}","starred_url":"https://api.github.com/users/pgenfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgenfer/subscriptions","organizations_url":"https://api.github.com/users/pgenfer/orgs","repos_url":"https://api.github.com/users/pgenfer/repos","events_url":"https://api.github.com/users/pgenfer/events{/privacy}","received_events_url":"https://api.github.com/users/pgenfer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-13T16:08:25Z","updated_at":"2016-05-13T16:08:25Z","closed_at":null,"body":"**Remark**: Issue #11 was split into two parts for easier administration. This is the first part.\r\n\r\nSay I have the following mixin\r\n```C#\r\npublic class NameMixin: INamed\r\n{\r\n    public string Name { get; set; }\r\n}\r\n```\r\nand ```INamed``` is defined as follows\r\n```C#\r\npublic interface INamed\r\n{\r\n    string Name { get; set; } = string.Empty;\r\n}\r\n```\r\nFurthermore, I have the following class\r\n```C#\r\npublic class Person\r\n{\r\n    NameMixin _name = new NameMixin();\r\n}\r\n```\r\nWhen I mix the ```NameMixin``` class into my type, I would like the option for the type to be further augmented by having the ```INamed``` interface automatically added to its interface list.   \r\n\r\n\r\nThanks to @aluanhaddad for the suggestion of this feature."}}