Dealing with type-casting limitations

Well this is the first post involving the .NET 4.0 framework, woo :D. Something I’ve had a problem with from within the abstract service lay which we use at TheFARM. It’s a limitation of the .NET framework and how you can do type casting wi…

Well this is the first post involving the .NET 4.0 framework, woo :D. Something I’ve had a problem with from within the abstract service lay which we use at TheFARM. It’s a limitation of the .NET framework and how you can do type casting within the .NET framework.
The way we use our service layer is to never return classes, we only return interfaces, so you can’t write a method which looks like this:


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2024-03-28T17:16:53+00:00) » Dealing with type-casting limitations. Retrieved from https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/.
MLA
" » Dealing with type-casting limitations." Posts on LINQ to Fail | Sciencx - Sunday April 25, 2010, https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/
HARVARD
Posts on LINQ to Fail | Sciencx Sunday April 25, 2010 » Dealing with type-casting limitations., viewed 2024-03-28T17:16:53+00:00,<https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Dealing with type-casting limitations. [Internet]. [Accessed 2024-03-28T17:16:53+00:00]. Available from: https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/
CHICAGO
" » Dealing with type-casting limitations." Posts on LINQ to Fail | Sciencx - Accessed 2024-03-28T17:16:53+00:00. https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/
IEEE
" » Dealing with type-casting limitations." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/. [Accessed: 2024-03-28T17:16:53+00:00]
rf:citation
» Dealing with type-casting limitations | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2010/04/25/dealing-with-type-casting-limitations/ | 2024-03-28T17:16:53+00:00
https://github.com/addpipe/simple-recorderjs-demo