L
Lee
Assuming I have an interface defined:
public interface IDTPersistableCollection: IList<IDTPersistableObject>
{
//Few specific properties defined
}
When I try to create an object based on this, I get all kind of errors
about members not being implemented such as this one:
Error 3 'AbstrationTestApp.Classes.CollectionBasic' does not implement
interface member
'System.Collections.Generic.IList<DTAbstraction.Interfaces.IDTPersistabl
eObject>.RemoveAt(int)'
I understand that I have to implement the required members of the
interface I'm implmementing. But, because I am using an interface, I
don't understand what it's asking for. I try to implement the RemoveAt
method, but still get errors.
Is there another trick to implementing collections using interfaces
that I am missing?
If figure 4 hours of trying to figure it out without success warrants a
post for help, LOL.
Thanks for any help,
--
Warm Regards,
Lee
"Upon further investigation it appears that your software is missing
just one thing. It definitely needs more cow bell..."
public interface IDTPersistableCollection: IList<IDTPersistableObject>
{
//Few specific properties defined
}
When I try to create an object based on this, I get all kind of errors
about members not being implemented such as this one:
Error 3 'AbstrationTestApp.Classes.CollectionBasic' does not implement
interface member
'System.Collections.Generic.IList<DTAbstraction.Interfaces.IDTPersistabl
eObject>.RemoveAt(int)'
I understand that I have to implement the required members of the
interface I'm implmementing. But, because I am using an interface, I
don't understand what it's asking for. I try to implement the RemoveAt
method, but still get errors.
Is there another trick to implementing collections using interfaces
that I am missing?
If figure 4 hours of trying to figure it out without success warrants a
post for help, LOL.
Thanks for any help,
--
Warm Regards,
Lee
"Upon further investigation it appears that your software is missing
just one thing. It definitely needs more cow bell..."