BryanWilhite / SonghayCore

core reusable, opinionated concerns for *all* 🧐 of my C# projects
http://songhayblog.azurewebsites.net/
MIT License
1 stars 0 forks source link

`IActivityWithTask*` should not inherit from `IActivity` 🔨🔥 #172

Open BryanWilhite opened 2 months ago

BryanWilhite commented 2 months ago

I should have known for quite some time that using inheritance with interfaces defeats the purpose of enjoying working ‘horizontally’ (because of the C♯ feature of multiple interfaces applied to a class) instead of being trapped ‘vertically’ (because of inheritance).