Better class generation if generic type is known


it would be nice if ReSharper use the where hint for generating a new class.


public class Foo where T : Collection { } public class Bar { private Foo newClassCollection; } so if NewClass not exists a quick fix appears for creating it. And R# generates public class NewClass { } Nice would be if R# created public class NewClass : Collection { } Or an example from the "real world" public interface IFooView { event EventHandlery]]> ItemSelected;

It should create for ItemSelectEventArgs

public class ItemSelectEventArgs: EventArgs


Albert Weinert
MVP Visual Developer ASP.NET

Please sign in to leave a comment.