Thread
:
App: MVC Gallery
View Single Post
mindtwitch
2008-04-22 #
212
I was wondering if I could just cast to Abstract since IController is empty. There are no method definitions in the interface at all. I can't add accessor methods to the Interface can I? I've tried before and it returns errors.
Thanks for the tip. I might just scratch the interface all together since it doesn't seem that I really need it. However I do question whether this goes against OOP principles of coding to an interface instead of an implementation. Just seems weird to me that you can't define properties/accessors in the interface. Or can you?
mindtwitch
View Public Profile
Visit mindtwitch's homepage!
Find all posts by mindtwitch