Reputation: 6699
I have interface defs like below.
public interface IProvider
{
}
public interface IProviderList : BindingList<IProvider>
{
}
Not sure whygetting compilation error
Type 'BindingList<...>' in interface list is not an interface
Any ideas?
Upvotes: 0
Views: 752
Reputation: 8319
BindingList<T>
is a class.
An interface (your IProviderList
) can not inherit from a class.
Upvotes: 1
Reputation:
BindingList<T>
is not an interface, it's a class. IBindingList
is an interface. Perhaps you meant to use IBindingList
?
Upvotes: 1