Refactor default parameters on interface, virtual methods #104
Labels
Priority: 1
Severity 1: Minor
Status 0: Discussion
Needs further evaluation of requirements and prioritization.
Status 2: Scheduled
Planned for an upcoming release.
Type: Improvement
Improves the functionality or interface of an existing feature.
Milestone
In “Framework Design Patterns”, under 5.1 “General Member Design Guidelines”, the following recommendation should be followed:
This is inconsistent with how OnTopic is written. The recommended resolution is to instead implement the following:
This relies on the method resolution logic of the C# compiler.
At minimum, this should be implemented on classes intended for dependency injection. For classes not intended for dependency injection, this may not be appropriate. See considerations below regarding
using
scope.The text was updated successfully, but these errors were encountered: