I have an interface
public interface BWidgetObject<T> { }
and I want to use this interface to create a new universal interface based on this type:
public interface BDataList<BWidgetObject> {}
The first warns that type T is hidden. The following are compiler errors:
public interface BDataList<BWidgetObject<T>> {}
How to express BWidgetObject<T> as a type parameter for a BDataList ?
source share