{"action":"closed","issue":{"url":"https://api.github.com/repos/canton7/RestEase/issues/3","labels_url":"https://api.github.com/repos/canton7/RestEase/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/canton7/RestEase/issues/3/comments","events_url":"https://api.github.com/repos/canton7/RestEase/issues/3/events","html_url":"https://github.com/canton7/RestEase/issues/3","id":109364679,"number":3,"title":"Cannot inherit Variable Interface Headers","user":{"login":"diegoRodriguezAguila","id":2584879,"avatar_url":"https://avatars.githubusercontent.com/u/2584879?v=3","gravatar_id":"","url":"https://api.github.com/users/diegoRodriguezAguila","html_url":"https://github.com/diegoRodriguezAguila","followers_url":"https://api.github.com/users/diegoRodriguezAguila/followers","following_url":"https://api.github.com/users/diegoRodriguezAguila/following{/other_user}","gists_url":"https://api.github.com/users/diegoRodriguezAguila/gists{/gist_id}","starred_url":"https://api.github.com/users/diegoRodriguezAguila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegoRodriguezAguila/subscriptions","organizations_url":"https://api.github.com/users/diegoRodriguezAguila/orgs","repos_url":"https://api.github.com/users/diegoRodriguezAguila/repos","events_url":"https://api.github.com/users/diegoRodriguezAguila/events{/privacy}","received_events_url":"https://api.github.com/users/diegoRodriguezAguila/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-01T19:16:20Z","updated_at":"2015-10-03T14:07:29Z","closed_at":"2015-10-03T14:07:29Z","body":"I have defined a common parent because I need authentication in almost all my api endpoints.\r\nThe parent endpoint looks like this:\r\n```c#\r\npublic interface IAuthenticatedEndpoint\r\n    {\r\n        [Header(\"X-Api-Token\")]\r\n        string ApiToken { get; set; }\r\n        [Header(\"X-Api-Username\")]\r\n        string ApiUsername { get; set; }\r\n    }\r\n```\r\nAnd I inherit from it like this:\r\n```c#\r\npublic interface IDevicesEndpoint : IAuthenticatedEndpoint\r\n    {\r\n        [Get(\"/devices\")]\r\n        Task<IList<Device>> GetAllDevices([QueryMap] IDictionary<string, object> filters);\r\n    }\r\n```\r\n\r\nBut when I try to call \r\n```c#\r\nRestClient.For<IDevicesEndpoint>(BASE_URL, settings); \r\n```\r\nit throws the following exception:\r\n<i>\r\n((System.TypeLoadException)e.InnerException).Message \"Method 'get_ApiToken' in type 'RestEase.AutoGenerated.<>SGAM+Elfec+DataAccess+WebServices+ApiEndpoints+IDevicesEndpoint' from assembly 'RestEaseFactory, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.\"\r\n</i>\r\n\r\nwith the message:\r\n<i>\r\nUnable to create implementation for interface SGAM.Elfec.DataAccess.WebServices.ApiEndpoints.IDevicesEndpoint. Ensure that the interface is public,or add [assembly: InternalsVisibleTo(RestClient.FactoryAssemblyName)] to your AssemblyInfo.cs\r\n</i>\r\nThen, I've tried to do what it suggested (added the line on AssemblyInfo) but with the same result."}}