This issue has been created from an NNTP article.
I have the following base:
public abstract class Base<TRequest, TResponse, TArgs> : IGenericServiceProvider
where TRequest : class, new()
where TResponse : class, new()
where TArgs: Args {}
public abstract class Args { }
When I create a new descendent of Base, like this:
public class GetDetailsProvider : GenericServiceProvider<GetDetailsRequest, GetDetailsResponse, GetDetailsArgs>{}
The class GetDetailsArgs does not exist and R# gives me a lovely context action to create the class, thus:
public class GetDetailsArgs {}
What I'd like is if it could give me the following by inspecting the constraint on Base :
public class GetDetailsArgs: Args {}
Thanks,
Sean