liskov-substitution-principle
Does this violate the Liskov substitution principle, and if so, what do I do about it?
Use case: I\'m using data templates to match a View to a ViewModel.Data templates work by inspecting the most derived type of the concrete type provided, and they don\'t look at what interfaces it pro[详细]
2023-01-22 01:43 分类:问答Is the ReadOnlyCollection class a good example of Bad Design? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Updat开发者_运维问答e the question so it can be answered with facts and citati[详细]
2023-01-19 20:05 分类:问答Covariance and Contravariance with LSP
What is the relationship between LS开发者_运维百科P and Covariance and Contravariance? Is there any relationship? Is LSP a form of Covariance ?I wouldn\'t say that Liskov\'s Substitution Principle is[详细]
2023-01-19 15:09 分类:问答Liskov Substitution Principle and the directionality of the original statement
I came across the original statement of the Liskov Sub开发者_StackOverflow中文版stitution Principle on Ward\'s wiki tonight:[详细]
2023-01-15 09:14 分类:问答Does using virtual methods violates LSP( L part of SOLID principles) or there are some exceptions? [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. 开发者_如何学C[详细]
2023-01-09 01:27 分类:问答Does the Liskov Substitution Principle apply to subtype which inherited from abstract class?
loosely speaking, Liskov Substitution Principle states that a derived class can be substitute in place of the base class without affecting the user.[详细]
2022-12-19 20:50 分类:问答