Open
Description
As much as I love the power symmetric conventions provide I think their difference makes them confusing. For example I love ClassTypeHasSpecificNamespace
but it's the only convention that takes a type filtering predicate.
I think it would be more consistent if we removed classType
and classIsApplicable
from constructor. We could have a SymmerticConvention
class much like the Convention
class with an Is
method and also an ISymmetricConvention
for Convention
where the Execute
method accepts a preciate in addition to those required by Execute
in IConvention
. SymmetricConvention
could then accept a predicate required for symmetric logic which is passed into the Execute
method.
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels