I have a problem with designing my interfaces
I have these interfaces :
IField
IScreenField //this interface inherit from IField
CustomCollection<IField>
AnotherCustomCollection<IScreenField>
ITable //that contains CustomCollection<IField>
IScreen //that contains AnotherCustomCollection<IScreenField>
IScreen //interface should inherit from ITable interface
but it shows an error that
I have to implement a collection of IField but I already implement a collection of IScreenField
what is the soltuion for this ?
Aucun commentaire:
Enregistrer un commentaire