History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-57143
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Ilya Ryzhenkov
Reporter: Ilya Ryzhenkov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ReSharper

[543] Create Class from Generic Signature Request

Created: 01 Feb 08 19:13   Updated: 13 Mar 08 22:38
Component/s: Generate Action
Fix Version/s: Aroha

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 543
Old URL: news://news.intellij.net/3856561.1201879056044.JavaMail.itn@is.intellij.net


 Description  « Hide
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



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.