c# Programming Glossary: liskov
Can you explain Liskov Substitution Principle with a good C# example? http://stackoverflow.com/questions/4428725/can-you-explain-liskov-substitution-principle-with-a-good-c-sharp-example you explain Liskov Substitution Principle with a good C# example Can you explain.. Principle with a good C# example Can you explain Liskov Substitution Principle The 'L' of SOLID with a good C# example..
Dependency Injection - new instance required in several of a classes methods http://stackoverflow.com/questions/4648318/dependency-injection-new-instance-required-in-several-of-a-classes-methods determine the design of the consumer. This violates the Liskov Substitution Principle . A better option is to keep MyService..
Liskov Substition and Composition http://stackoverflow.com/questions/554145/liskov-substition-and-composition Substition and Composition Let say I have a class like this.. C# has no idea that SuperFoo truly does qualify in the Liskov Substitution sense...This means that my extended class via composition..
Why is this switch on type case considered confusing? http://stackoverflow.com/questions/6304815/why-is-this-switch-on-type-case-considered-confusing switch to match on subclasses. But this would break the Liskov Substitution Principle. where if you passed in a C object the..
|